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