#algorithm

Read more stories on Hashnode

Articles with this tag

O(1) = runs a constant operation once. O(n) = repeats a constant operation n times. O(logn) = runs a constant operation on a fraction of the input n^2...