Why is this problem on the site?


  • 0

    There's no "trick" or "new way of thinking". It's literally just binary search, and is duplicated by many other Leetcode problems that use binary search in their solution...


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.