311/313 test cases passed due to Time Limit Exceed.
But result of the same input in test case is: Runtime: 1222 ms.
My solution is based on sort + binary search.
Do I have to decrease the runtime under 1000ms to pass?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.