C# Easy Solution
/// C# Code\npublic int[] PlusOne(int[] digits) {\n        for(int i=digits.Length-1;i>=0;i--)\n        {\n            if(digits[i]<9)\n            {\n         
/// C# Code\npublic int[] PlusOne(int[] digits) {\n        for(int i=digits.Length-1;i>=0;i--)\n        {\n            if(digits[i]<9)\n            {\n                digits[i]++;\n                return digits;\n            }\n            digits[i]=0;\n        }\n        int[] result=new int[digits.Length+1];\n        result[0]=1;\n        return result;\n    }
[]