Tag: a-dfs
All the articles with the tag "a-dfs".
-
LeetCode 1306 Jump Game III
Solutions for LeetCode 1306, medium: breadth-first and iterative depth-first search on an implicit graph of array indices.
-
LeetCode 1202 Smallest String With Swaps
Solutions for LeetCode 1202, medium, tags: array, hash table, string, depth-first search, breadth-first search, union find, sorting.
-
LeetCode 1448 Count Good Nodes in Binary Tree
Solutions for LeetCode 1448, medium, tags: tree, depth-first search, breadth-first search, binary tree.
-
LeetCode 226 Invert Binary Tree
Solutions for LeetCode 226, easy, tags: tree, depth-first search, breadth-first search, binary tree.
-
LeetCode 211 Design Add and Search Words Data Structure
Solutions for LeetCode 211, medium, tags: string, depth-first search, design, trie.
-
LeetCode 572 Subtree of Another Tree
Solutions for LeetCode 572, easy, tags: tree, dfs, string matching, binary tree, hash function.