목록2026/04 (1)
고양이와 코딩
[LeetCode] Add Two Numbers
연결리스트 문제! 역시 꾸준히 하지 않으니까 매번 새롭게 느껴진다 .. 다시 열심히.. ~ Input: l1 = [2,4,3], l2 = [5,6,4]Output: [7,0,8]Explanation: 342 + 465 = 807.Example 2:Input: l1 = [0], l2 = [0]Output: [0]Example 3:Input: l1 = [9,9,9,9,9,9,9], l2 = [9,9,9,9]Output: [8,9,9,9,0,0,0,1] Constraints:The number of nodes in each linked list is in the range [1, 100].0 It is guaranteed that the list represents a number that does not h..
C
2026. 4. 19. 14:48