Bitwise Optimisation for Finding the Last Number
A Step-by-Step Exploration of Interactive Problem Solving through Bitwise Logic
Nov 4, 20253 min read3

Search for a command to run...
Articles tagged with #algorithms
A Step-by-Step Exploration of Interactive Problem Solving through Bitwise Logic

One of the most fascinating moments from algorithm design comes from two different implementations attempting to solve the same mathematical challenge. This happened recently while comparing two solutions to a competitive programming problem that req...

If you are exploring graph algorithms, the tree structures can look deceptively simple until you encounter recursion depth, node parity, and leaf-handling logic. In this CatShock problem, it combines dynamic leaf update, depth parity, and DFS into on...

How to apply an elegant trick to solve a Bit Reversal Puzzle.
