Tag: a-bfs
All the articles with the tag "a-bfs".
-
LeetCode 662 Maximum Width of Binary Tree
Solutions for LeetCode 662, medium, tags: tree, depth-first search, breadth-first search, binary tree.
-
LeetCode 103 Binary Tree Zigzag Level Order Traversal
Solutions for LeetCode 103, medium, tags: tree, breadth-first search, binary tree.
-
LeetCode 785 Is Graph Bipartite
Solutions for LeetCode 785, medium, tags: graph, depth-first search, breadth-first search, union find.
-
LeetCode 2385 Amount of Time for Binary Tree to Be Infected
Solutions for LeetCode 2385, medium, tags: tree, depth-first search, breadth-first search, binary tree.
-
LeetCode 863 All Nodes Distance K in Binary Tree
Solutions for LeetCode 863, medium, tags: tree, DFS, BFS, binary tree.
-
LeetCode 1162 As Far from Land as Possible
Solutions for LeetCode 1162, medium, tags: array, dynamic programming, breadth-first search, matrix.