Misc Puzzles

Competitive programming is a focused way to sharpen algorithmic thinking. These are worked solutions — not shortcuts, but walkthroughs of the ideas, trade-offs, and optimizations that lead to efficient answers.

Three Digits Number

Three Digits Number