DEV Community

Discussion on: The Big O notation - O(n)

Collapse
 
kendyl93 profile image
Paweł • Edited

Well, it depends on which algorithm you would chose. You can find the card with O(n) but you also can solve the same problem with the O(log2(n)) complexity.