Question 1
Six employees with distinct departments and roles form a reporting hierarchy. Use the clues to build the tree and answer:
- Aarav and Vihaan report to Jatin.
- Sahil and Nihal report to Aarav.
- Ira reports to Vihaan.
- The Head is Jatin in Tech department.
Question: Who is the direct manager of Sahil?
Hierarchical Tree Construction
Draw a tree: place the Head at root. Connect direct reports according to clues.
Assign departments/roles after structure is stable.
Final tree edges (manager → report):
- Jatin → Aarav
- Jatin → Vihaan
- Aarav → Sahil
- Aarav → Nihal
- Vihaan → Ira
Verification:
- All reporting relations satisfied.
- Unique direct manager per non-root node.
- Department/role association consistent with headship.
Draw a tree: place the Head at root. Connect direct reports according to clues.
Assign departments/roles after structure is stable.
Final tree edges (manager → report):
- Jatin → Aarav
- Jatin → Vihaan
- Aarav → Sahil
- Aarav → Nihal
- Vihaan → Ira
Verification:
- All reporting relations satisfied.
- Unique direct manager per non-root node.
- Department/role association consistent with headship.