Problem 2011 · Easy

Final Value of Variable After Performing Operations

Compute the final value of a variable after a sequence of increment and decrement operations. The visual steps through each operation and updates the running value.

Open the interactive visualisation