LeetCode Weekly Contest 39
No one has replied
@williewiz The sort function alone should be O(NlogN)..
The method of using iterators is cool!
Really smart solution!
is there a python version of tree map?
@awice Thanks for explanation.
@robturtle Thank you, very straightforward explanation and easy to understand, I like this heap solution.
@XiaowenHu Yes, the time complexity of it is only O(sqrt(c))!
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.