DEV Community

loading...

Discussion on: Searching an Array, Two Ways

Collapse
chico1992 profile image
chico1992

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

Collapse
alisabaj profile image
Alisa Bajramovic Author

Whoops! That's a typo. Good catch!

Collapse
chico1992 profile image
chico1992

You’re welcome