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