Tag: a-bfs
All the articles with the tag "a-bfs".
-
LeetCode 1034 Coloring A Border
Iterative BFS solution for LeetCode 1034, Coloring A Border.
-
LeetCode 1129 Shortest Path with Alternating Colors
Solutions for LeetCode 1129, medium, tags: graph, breadth-first search.
-
LeetCode 1448 Count Good Nodes in Binary Tree
Solutions for LeetCode 1448, medium, tags: tree, depth-first search, breadth-first search, binary tree.
-
LeetCode 542 01 Matrix
Solutions for LeetCode 542, medium, tags: array, dynamic programming, bfs, matrix.
-
LeetCode 226 Invert Binary Tree
Solutions for LeetCode 226, easy, tags: tree, depth-first search, breadth-first search, binary tree.
-
LeetCode 802 Find Eventual Safe States
Solutions for LeetCode 802, medium, tags: depth-first search, breadth-first search, graph, topological sort.