Count the operations — and watch them grow
An operation is one fundamental step (assign, add, compare, array access). Set the input size n and compare how three shapes of code add up. Click a row to see its annotated code.
n