This pattern is useful when dealing with problems involving arrays containing numbers in a range.
How would you solve the following problem?
Given n …
Here we go again. Another time, another platform, another go to get back into writing. I have a sense that it's going to stick this time. We will see …
I was job hunting recently and went through 50+ interviews and have received 5 great offers. 3 of them are from unicorns in India. Having been gone th…
Ok, so I've been loitering for many years on tech blogs, often writing a reply or two, some complimentary and some, not so complimentary (let's face i…
This is quite a nifty pattern to apply to linked lists (also arrays and other sequences).
Also known as:
Hare and Tortoise algorithm.