| Mark the Endpoints of Longest Paths in a Tree | Salesforce | Medium | Coding | Online Assessment | Tree, Graph, BFS | |
| Print a Binary Tree Level by Level | Amazon | Medium | Coding | Onsite | Tree, BFS | |
| All Nodes at Distance k From a Target | Amazon | Medium | Coding | Onsite | Tree, BFS, DFS | |
| Closest Value to a Target in a Binary Search Tree | Meta | Easy | Coding | Phone Screen | Binary Search, Tree | |
| Cut One Road to Split the Towns Most Evenly | Google | Medium | Coding | Online Assessment | Tree, Graph, DFS | |
| Fewest Node Deletions to Cap a Tree's Height | Snowflake | Hard | Coding | | Tree, DFS, Dynamic Programming | |
| Encrypted Files in a Directory Tree: Count, Then Minimum Encryption Time | Databricks | Medium | Coding | Phone Screen | Tree, DFS, Dynamic Programming | |
| Sum of |Path-from-Root Sum − Descendant Sum| over a Tree | Google | Medium | Coding | Online Assessment | Tree, DFS | |
| Whose Birthday Comes Next in the Family Tree? | Google | Easy | Coding | Onsite | Binary Search, Tree, Sorting +1 | |
| Count the Islands of 1s in a Binary Tree | Google | Easy | Coding | | Tree, BFS, DFS | |
| Optimal Binary Search Tree Cost | Uber | Hard | Coding | Phone Screen | Tree, Dynamic Programming | |
| Iterator over a Nested List | Aurora | Medium | Coding | Phone Screen | Stack, Tree, DFS +1 | |
| Org Chart With O(1) Report Counts, Manager Changes and New Hires | Uber | Medium | Coding | Phone Screen | Hash Table, Tree, Design | |
| Reciprocal, Mirror and Prune the Mode in a Float Tree | Google | Medium | Coding | | Hash Table, Tree, DFS | |
| k-th Smallest Value in a Binary Search Tree | Uber | Medium | Coding | Onsite | Stack, Tree, DFS | |
| Fold Every Single-Child Node Into Its Parent | Waymo | Medium | Coding | Phone Screen | Tree, DFS | |
| Find the Text Nodes That Contain a Search String in an HTML Tree | Google | Medium | Coding | | String, Tree, DFS | |
| Directories That Repeat an Ancestor's Name Within K Levels | Google | Easy | Coding | Phone Screen | Hash Table, Tree, DFS | |
| Downward Path with a Given Sum and a Length in a Range | Google | Medium | Coding | Onsite | Hash Table, Tree, DFS | |
| Fewest Increments to Make Every Root-to-Leaf Path Cost the Same | Google | Medium | Coding | Onsite | Tree, Greedy | |