Loading exercises...
Linked Lesson: Atomics: synchronized integer operations
Given [initial,changes] where initial and each change are integers -100 to 100 and changes is an array of at most 30 integers, return [oldValues,finalValue]. Record the counter before each addition. This models sequential atomic-add return semantics, not concurrency.