We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef8ebbe commit 5cbbbebCopy full SHA for 5cbbbeb
src/main/java/com/fishercoder/solutions/_369.java
@@ -72,7 +72,7 @@ public ListNode plusOne(ListNode head) {
72
}
73
74
// increase the rightmost node value to 1
75
- notNineNode.val ++;
+ notNineNode.val++;
76
notNineNode = notNineNode.next;
77
78
// set all the following node values with 9 to 0
0 commit comments