# I cannot fully understand the meaning of question 'Plus One'

• Could someone explain this to me? And please don't show up the code. Thanks

• suppose you have a number in your list/array such that adding 1 would make it a two digit number,
eg: [9]
o/p: [1,0]
Plusone(9) would be [10], but the expected output should be [1,0] such that the most significant digit is on the head

• so why [4321] gives [1,2]

• you need to write [4321] as [4,3,2,1], then it gives [4,3,2,2]

• Me too. The description of this question is poor.

• @sinma got it,thanks a lot

• [1, 2, 3, 4] represents integer 1234, add one to 1234(the length of array not changed), you get 1235. but [9, 9, 9, 9] represents 9999, add one to 9999, you get 10000(the length of array changed)

• [1, 2, 3, 4] represents integer 1234, add one to 1234(the length of array not changed), you get 1235. but [9, 9, 9, 9] represents 9999, add one to 9999, you get 10000(the length of array changed)

Me too. The description of this question is poor.

[1, 2, 3, 4] represents integer 1234, add one to 1234(the length of array not changed), you get 1235. but [9, 9, 9, 9] represents 9999, add one to 9999, you get 10000(the length of array changed)

• st significan
me too. The description is tttttttttto bad!!!

• agree, cannot understand.

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.