plusOne = (digits) => {
    add(digits);
    carry(digits);     /* Time O(N) */
    addLeading(digits);/*           | Space O(N) */

    return digits;
}
Time O(N) | Space O(N)
https://leetcode.com/problems/plus-one/
@param {number[]} digits
@return {number[]}