Count number of 1's in a bit string Posted on June 12, 2020 Oftentimes when we’re dealing with a number, we’re interested in knowing the number of $1$’s in the binary representation of that number. It is also... [Read More] Tags: C++
Fun With Cards (Part 1) Posted on June 10, 2020 Let’s discuss a problem from 2010 IOI! See the problem at the bottom. [Read More] Tags: problem solving
Sum of All Posted on June 10, 2020 Let’s discuss a number theory problem from Brilliant. Problem link is given at the end. [Read More] Tags: Problem Solving
UVa 624 - CD Posted on June 9, 2020 This problem can be solved with recursive backtracking approach. The number of tracks on the CD is at most $20$. As we can either take... [Read More] Tags: UVa
UVa 10344 - 23 out of 5 Posted on June 9, 2020 Another recursive backtracking problem. Let’s first understand the problem statement. [Read More] Tags: UVa