I use Binary search,and get accept ! I want to know if this is the right answer?Anyone please help!


Log in to reply
 

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