Validate Employees in a Hierarchy with Recursive Rules
Asked at Amplitude · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
You are given a set of employees where each employee may have a list of direct reports (children), forming one or more hierarchies.
Loading the problem…
More Amplitude interview questions
- Detect Cycles in Employee Reporting Structure
- Design and Implement Snake Game with Keyboard Input
- Dictionary Encoding (Lossless) for Comma-Separated Words
- Swap the K-th Node from the End with the Head in a Singly Linked List
- Two-Team Turn-Based Battle Simulator
- Toy Language Type System