You are viewing a single comment's thread. Return to all comments →
This exercise is hell if you try to use queues. Use minheap instead and it becomes the easiest problem of the day :)
Seems like cookies are disabled on this browser, please enable them to open this website
Jesse and Cookies
You are viewing a single comment's thread. Return to all comments →
This exercise is hell if you try to use queues. Use minheap instead and it becomes the easiest problem of the day :)