Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 268 Bytes

File metadata and controls

7 lines (6 loc) · 268 Bytes

Solution

  • Binary Search
    • You need to make use of the comparison between the first and last element and mid
    • If left element equals to mid, left++
    • See the code for details