I submitted a solution with the simple sequential search solution and the run time is 1ms.
The solution of binary search is 1ms run time too.
Why use binary search here?

@justin.gong
The complexity is different, Sequential search takes O(n), binary search takes O( lgn ).