DevToolsDaily | Coding Prep Profile Image
DevToolsDaily | Coding Prep
17 days ago
0
540
2
18
Binary Tree Level Order Traversal (LeetCode 102). Use BFS with a queue, and at the start of each level write down the queue's size. Pop exactly that many, record their values, push their children, and you get [[3],[9,20],[15,7]]. #leetcode #codinginterview #binarytree #bfs #algorithms #datastructures #python #softwareengineer #learntocode
Download video without watermark
original sound - DevToolsDaily | Coding Prep
•
59s