| Root-to-Leaf Paths With a Target Sum | Amazon | Medium | Coding | Onsite | Tree, DFS, Backtracking | |
| Minimum Cost to Cut All Leaves Off the Root | Google | Medium | Coding | Onsite | Tree, DFS, Dynamic Programming | |
| Order Tasks with Prerequisites, Then Run Them in Parallel | Nuro | Medium | Coding | Phone Screen, Onsite | Graph, BFS, DFS +1 | |
| Distance Between Two Nodes of a Binary Tree | Amazon | Medium | Coding | Onsite | Tree, DFS | |
| Hospitals and Roads: Give Every City Hospital Access | Amazon | Medium | Coding | Onsite | Graph, DFS, Greedy +1 | |
| Prune an N-ary Tree by Substring, Then Render It as You Type | Waymo | Medium | Coding | Phone Screen | Tree, DFS | |
| Minesweeper: Count Neighbouring Mines, Then Reveal a Click | Nuro | Medium | Coding | Phone Screen | Array, BFS, DFS | |
| Order Courses With Prerequisites | Salesforce | Medium | Coding | Onsite | Graph, BFS, DFS | |
| Longest Path of Equal Values in a Tree | Google | Medium | Coding | Phone Screen | Tree, DFS | |
| Count Islands in a Grid | Salesforce | Medium | Coding | Onsite | BFS, DFS, Union Find | |
| Lowest Common Ancestor in a Binary Tree | Salesforce | Medium | Coding | Onsite | Tree, DFS | |
| Longest Itinerary Through Allowed City Routes | Uber | Medium | Coding | Phone Screen | Graph, DFS, Dynamic Programming | |
| Expand %key% Templates with Nested Keys and Cycle Detection | Google | Medium | Coding | Onsite | String, Hash Table, DFS | |
| Count the Single-Colour Regions That Are Perfect Squares | Waymo | Medium | Coding | Phone Screen | BFS, DFS | |
| Count Islands and Measure Each Island's Coastline | Waymo | Medium | Coding | Phone Screen | Array, Graph, BFS +1 | |
| Referral Network: Reach, Flow Centrality and Expected Growth | Mercor | Medium | Coding | Onsite | Tree, Graph, BFS +3 | |
| Spreadsheet with Two-Cell Formulas: set_cell and get_cell | Ramp | Medium | CodingObject-Oriented Design | Phone Screen | Hash Table, Graph, DFS +1 | |
| Most Frequent Subtree Sum | TikTok | Medium | Coding | Onsite | Hash Table, Tree, DFS | |
| Convert Between Currencies From Known Rates | Bloomberg | Medium | Coding | | Graph, BFS, DFS | |
| Count Islands in a Grid | LinkedIn | Medium | Coding | Onsite | Graph, BFS, DFS | |