#algorithms
Read more stories on Hashnode
Articles with this tag
Dirichlet's Box Principle · Hello Readers, The pigeonhole principle is quite straightforward but it can be used under various circumstances. It is also...
Hello Readers, Introduction Here, I will be discussing an interesting data structure called "Fenwick Tree". Its structure was proposed by Boris Ryabko...
Technique It is a simple technique that can give you an end array after performing range queries of the form update(l, r, x). NOTE: update(l, r, x)...
Hello, Sieve of Eratosthenes I hope you all know what Seive is. This article will give you different variations of sieves. So, for those who don't...
Hui!! Euclid's Algo Let's start with GCD(Greatest Common Divisor). I would assume you know what GCD is. You might know different ways to calculate...
here I will be talking about two different things how to prove correctness of solution and how to approach to the solution. · Let's look at the idea of...