BFS / Level-Order Traversal Problems
34 BFS / Level-Order Traversal problems on LeetCode, a Trees interview pattern, ranked by importance (how often it comes up in real interviews). Difficulty (ELO) and importance shown per problem.
| # | PROBLEM | DIFF | ELO | IMP | PATTERNS |
|---|---|---|---|---|---|
| 1 | Binary Tree Level Order Traversal | Easy | 1195 | 92 | |
| 2 | Binary Tree Right Side View | Easy | 1337 | 85 | DFS Traversal (Inorder, Preorder, Postorder) |
| 3 | Amount of Time for Binary Tree to Be Infected | Medium | 1711 | 74 | BFS Shortest Path (Unweighted) · DFS Traversal (Inorder, Preorder, Postorder) |
| 4 | N-ary Tree Level Order Traversal | Easy | 1198 | 73 | |
| 5 | All Nodes Distance K in Binary Tree | Medium | 1663 | 72 | DFS Traversal (Inorder, Preorder, Postorder) · Frequency Counting / Hash Map Lookup |
MORE TREES PATTERNS
// your mastery





What's your BFS / Level-Order Traversal tier?
leaps.gg syncs your LeetCode history, scores your BFS / Level-Order Traversal mastery, and recommends exactly which problems to do next with spaced repetition. Free to start.
GET MY MASTERY MAP →