| Minimum Cost to Cut All Leaves Off the Root | Google | Medium | Coding | Onsite | Tree, DFS, Dynamic Programming | |
| Org Chart With Capped Direct Reports and FTE Counts | Waymo | Medium | Coding | Phone Screen | Tree, BFS, Design | |
| Sum of Even Values on a Path in a Heap-Indexed Tree | Adobe | Medium | Coding | Onsite | Tree, Math | |
| Distance Between Two Nodes of a Binary Tree | Amazon | Medium | Coding | Onsite | Tree, DFS | |
| Prune an N-ary Tree by Substring, Then Render It as You Type | Waymo | Medium | Coding | Phone Screen | Tree, DFS | |
| Longest Path of Equal Values in a Tree | Google | Medium | Coding | Phone Screen | Tree, DFS | |
| Is This List of Parent→Child Pairs a Valid Forest? | Waymo | Medium | Coding | Phone Screen | Tree, Graph, Union Find | |
| Fewest Cameras to Cover Every Tree Node | Amazon | Hard | Coding | | Tree, DFS, Dynamic Programming +1 | |
| Lowest Common Ancestor in a Binary Tree | Salesforce | Medium | Coding | Onsite | Tree, DFS | |
| Largest Sum of a BST Inside a Binary Tree | Amazon | Hard | Coding | Onsite | Tree, DFS, Dynamic Programming | |
| CodeSignal Python Debugging: Make a NumPy Extremely Randomized Trees Codebase Pass Its Tests | Anthropic | Hard | Machine LearningDebugging | Online Assessment, CodeSignal | Tree, Randomization | |
| Referral Network: Reach, Flow Centrality and Expected Growth | Mercor | Medium | Coding | Onsite | Tree, Graph, BFS +3 | |
| Most Frequent Subtree Sum | TikTok | Medium | Coding | Onsite | Hash Table, Tree, DFS | |
| Longest Path Between Two Nodes of a Binary Tree | LinkedIn | Easy | Coding | Phone Screen | Tree, DFS | |
| Rebuild a BST as a Height-Balanced BST | Amazon | Medium | Coding | Onsite | Tree, DFS | |
| Find the Root and the Leaves From an Edge List | Salesforce | Easy | Coding | Onsite | Array, Tree, Graph | |
| K Values Closest to a Target in a BST | LinkedIn | Hard | Coding | Onsite | Binary Search, Stack, Tree | |
| Boundary of a Binary Tree | Amazon | Medium | Coding | Onsite | Tree, DFS | |
| Lowest Common Ancestor When Nodes May Be Missing | Amazon | Medium | Coding | Onsite | Tree, DFS | |
| Common Managers of Two Employees | Amazon | Medium | Coding | Onsite | Hash Table, Tree, Graph | |