Dive Board



How to quickly estimate the complexity of an algorithm?

How to quickly estimate the complexity of an algorithm?

by Roanokay on Mar 30th, 2025 07:19 AM

I am dealing with algorithms, but every time I am puzzled how to correctly determine their time complexity. Especially when the code is cumbersome, and it is a challenge to calculate it manually. Maybe there is a convenient tool that helps to calculate Big O and shows the result at once?

Roanokay

Posts: 25

Joined: 03.09.2023


Re: How to quickly estimate the complexity of an algorithm?

by NOPYMI on Mar 30th, 2025 07:25 AM

I often find myself in situations where I need to quickly figure out the time complexity of an algorithm, and doing it by hand can be a bit of a headache. Especially when the code is large, and it’s hard to track all the hidden loops. There’s a Big O calculator that makes this much easier. Check it out here: https://jadve.com/tools/big-o-calculator

NOPYMI

Posts: 31

Joined: 03.09.2023


Re: How to quickly estimate the complexity of an algorithm?

by Carll932 on Mar 30th, 2025 13:29 PM

[color=#000000][size=2][font=Arial]We found a lot of interesting information, in the near future we will consider these proposals[/font][/size][/color]

Carll932

Posts: 9

Joined: 13.03.2025


STATISTICS


Total posts: 200535


Total topics: 49607


Total members: 47586


Newest member: Daniel G.