CLOSE
Sum of k-Mirror Numbers

Sum of k-Mirror Numbers

Find the sum of the first n k-mirror numbers—positive integers that are palindromes in both base-10 and base-k. Efficiently generate and validate using string and math logic.

Print All Primes Till N

Solve the famous DSA problem of printing all primes number till n. Explained with three different approaches from brute force to optimal with intuition, approach, code and complexity analysis.

Read More
Your experience on this site will be improved by allowing cookies Cookie Policy