Stupid test cases

  • -1

    The key point for the question is not binary search but this statement "mid = start + (end - start) / 2", if you don't use it or long type to store your temporary values, your answer will not be accepted!

Log in to reply

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