Add Two Numbers — LeetCode #2 (Medium) — Python | Logixy

Опубликовано: 18 Июнь 2026
на канале: Logixy
33
4

Add Two Numbers — LeetCode #2 (Medium) — Python | Logixy

Add two numbers whose digits are stored as nodes of two linked lists in reverse order, and return the sum as a linked list.

Example:
Input: l1 = [2,4,3], l2 = [5,6,4]
Output: [7,0,8]

Chapters:
00:17 setup
00:41 Naive Approach
01:23 Discovery
02:14 Trace
03:10 why
03:19 Complexity
03:28 code

— Logixy: clear, patient DSA walkthroughs.

#leetcode #dsa #python #coding #interview