You are viewing a single comment's thread. Return to all comments →
is there any problem with the approach? O(nlogn) complexity, but pass only the second test case and not the first!
Seems like cookies are disabled on this browser, please enable them to open this website
Ice Cream Parlor
You are viewing a single comment's thread. Return to all comments →
is there any problem with the approach? O(nlogn) complexity, but pass only the second test case and not the first!