To follow up from my previous post, let's dig more into some patterns that revolve around heaps! When you're given a question that revolves around keeping track of k elements, a good bet is to think about solving the problem with heaps. Lets say you'...
Markdown supported · ⌘↵ to post
No responses yet.