Question 1
Six employees with distinct departments and roles form a reporting hierarchy. Use the clues to build the tree and answer:
- Bhavya and Tara report to Cyrus.
- Mira and Gaurav report to Bhavya.
- Vihaan reports to Tara.
- The Head is Cyrus in Tech department.
Question: Who is the direct manager of Vihaan?
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):
- Cyrus → Bhavya
- Cyrus → Tara
- Bhavya → Mira
- Bhavya → Gaurav
- Tara → Vihaan
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):
- Cyrus → Bhavya
- Cyrus → Tara
- Bhavya → Mira
- Bhavya → Gaurav
- Tara → Vihaan
Verification:
- All reporting relations satisfied.
- Unique direct manager per non-root node.
- Department/role association consistent with headship.