LeetCode 66: Plus One — Step-by-Step Visual Trace
📰 Dev.to · tracelit
Given a non-empty array of decimal digits representing a non-negative integer, increment the integer by one and return the resulting digits as an array.
Given a non-empty array of decimal digits representing a non-negative integer, increment the integer by one and return the resulting digits as an array.