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