Recent Posts

Balancing Brackets

1 minute read

Problem Definition You’re given a non-empty string made in its entirety from opening and closing braces. Your task is to find the minimum number of “operatio...

Next Smallest Palindrome

2 minute read

Given a number, we have to find the next smallest palindrome which is larger than this number.

Bitwise Sieve w/ Code

1 minute read

Sieve of Eratosthenes is explained HERE Bitwise sieve is an optimized implementation of Sieve of Eratosthenes. It does the same thing but more memory effic...