DEV Community

Discussion on: Searching an Array, Two Ways

Collapse
 
chico1992 profile image
chico1992

Isn’t the binary search’s complexity O(log n)?

Collapse
 
a_b_102931 profile image
ab

Whoops! That's a typo. Good catch!

Collapse
 
chico1992 profile image
chico1992

You’re welcome