369. Plus One Linked List - 简书
369- Plus One Linked List
**Question
Editorial Solution
Total Accepted: 1189
Total Submissions: 2373
Difficulty: Medium
Given a non-negative number represented as a singly linked list of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
Example:
Input:1->2->3Output:1->2->4
Read full article from 369. Plus One Linked List - 简书
No comments:
Post a Comment