Crushing Tech Interviews with the Top K Elements Pattern
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'...
techsloth.io2 min read