Problems / Math & Geometry / Plus One
#140 Easy Time O(n) Space O(1) Animated

Plus One

Increment a large integer represented as an array of digits.

LeetCode ↗
Approach: Array Iteration
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps