129. Sum Root to Leaf Numbers - JAVA (BFS / DFS - Detailed explanation)

Опубликовано: 06 Апрель 2026
на канале: Sourin Majumdar
115
9

Solving 129. Sum Root to Leaf Numbers. Please stay till the end!

Chapters:
0:00 - Introduction
1:20 - Iterative approach (BFS)
2:52 - Iterative solution / code
6:43 - Recursive approach 1 (DFS)
8:22 - Recursive approach 1 code
9:59 - Recursive approach 2
11:31 - Recursive approach 2 code

Please LIKE, COMMENT, SHARE and SUBSCRIBE 😇

Connect with me 😉:
LinkedIn:   / sourinmajumdar  
Instagram:   / sourinsig  

🔗 Problem link: https://leetcode.com/problems/sum-roo...

⭐ Star my GitHub repo: https://github.com/SourinMajumdar/Int...

#leetcode #dsa #coding #datastructure #problemsolving #programming
#programmer #interview #interviewpreparation #faang #java #javaprogramming #searching #algorithm #orderedset #binarytree #dfs #depthfirstsearch #recursion #breadthfirstsearch #bfs