Tag: a-dfs
All the articles with the tag "a-dfs".
-
LeetCode 230 Kth Smallest Element in a BST
Solutions for LeetCode 230, medium, tags: tree, depth-first search, binary search tree, binary tree.
-
LeetCode 200 Number of Islands
Solutions for LeetCode 200, medium, tags: array, depth-first search, breadth-first search, union find, matrix.
-
LeetCode 631 Design Excel Sum Formula
Solutions for LeetCode 631, hard, tags: design, graph, depth-first search, topological sort.
-
LeetCode 721 Accounts Merge
Solutions for LeetCode 721, medium, tags: array, hash table, string, depth-first search, breadth-first search, union find, sorting.
-
LeetCode 638 Shopping Offers
Solutions for LeetCode 638, medium, tags: array, dynamic programming, backtracking, bitmask, memoization.
-
LeetCode 2415 Reverse Odd Levels of Binary Tree
Solutions for LeetCode 239, hard, tags: array, queue, sliding window, heap, monotonic queue.