Very clear BFS2 solution.
The method of using iterators is cool!
@awice Thanks for explanation.
No one has replied
Really smart solution!
@mtgk Perhaps an explanation of the code would be super useful.
@robturtle Thank you, very straightforward explanation and easy to understand, I like this heap solution.
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.