Skip to content

General Tree Others

Table of Contents

2003. Smallest Missing Genetic Value in Each Subtree

  • LeetCode | 力扣

  • Tags: Dynamic Programming, Tree, Depth First Search, Union Find

2867. Count Valid Paths in a Tree

  • LeetCode | 力扣

  • Tags: Math, Dynamic Programming, Tree, Depth First Search, Number Theory

2421. Number of Good Paths

  • LeetCode | 力扣

  • Tags: Array, Hash Table, Tree, Union Find, Graph, Sorting

1719. Number Of Ways To Reconstruct A Tree

2479. Maximum XOR of Two Non-Overlapping Subtrees 👑