Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Santha Kumar Ramaiyan
Problem statement needs to be fixed?

Santha Kumar Ramaiyan

Mar 23, 2024

The problem statement should say the solution should be in the order of log(n). Otherwise, it is a very trivial problem since we can just find the index of the key in the input array and return which just takes o(n).

0

0

Comments
Comments

On this page