Implement binary search from scratch
Company: Uber
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Onsite
Quick Answer: This question evaluates proficiency in fundamental search algorithms, specifically binary search implementation, array indexing, handling first-occurrence semantics and integer overflow considerations while requiring both iterative and recursive forms.