Python for beginners: https://www.youtube.com/watch?v=egq7Z...
Code:
class Solution:
def plusOne(self, digits: List[int]) -> List[int]:
g="";
for i in digits:
g+=str(i);
e=int(g);
e=e+1;
g=str(e);
w=list(g);
output=[];
for i in w:
output.append(int(i));
return output;