Plus One — JavaScript easy interview problem
You are given a large integer represented as an integer array `digits`, where each digits[i] is the ith digit. Increment the large integer by one and return the resulting array of digits.
Tags: math
Practice this Arrays problem free in the JS Interview Playground with automated tests and unlockable solutions.