← Back
00:00

OA [CodeSignal] Minimum Operation To Reduce n To 0

Uber interview questions · Medium · OA round · 5 tests

Reach zero in the fewest moves by adding or subtracting powers of two.

The full question, tests and reference solution are available with a plan that includes Uber.

Idle