#programming
Read more stories on Hashnode
Articles with this tag
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...
If we have a problem where we're interested in knowing the smallest in element in one part of a given set of elements and the biggest element in the...
Ah, a good old linked list problem. Some people love them, some people help them. Hopefully with this pattern, you'll love questions which ask you to...
The two pointer approach is useful when we deal with sorted arrays or linked lists where we need to find a set of elements that fulfil certain...