Tree Structure: Hierarchy - Absolute-Beginner Level: core concept mastery Tree Structure: Hierarchy ABSOLUTE BEGINNER

This skill primer 🌟 worksheet focuses on Tree Structure: Hierarchy - a key topic in Data Arrangement. You'll solve 20 absolute-beginner-level problems (Worksheet 1 of 10). The primary focus is on core concept mastery. Master tree structure: hierarchy problems, tree structure: hierarchy reasoning questions, and tree structure: hierarchy practice through systematic practice.

📝 Worksheet 1 of 10 • 20 questions • ⏱️ Estimated time: 20 minutes • 🎯 Absolute Beginner level

What you'll learn in this worksheet:
Your progress through Tree Structure: Hierarchy
Worksheet 1 of 10 (0% complete)

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.

Question 2

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

Question 3

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

Question 4

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

Question 5

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

Question 6

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

Question 7

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

Question 8

Six employees with distinct departments and roles form a reporting hierarchy. Use the clues to build the tree and answer: - Yash and Uma report to Kaira. - Diya and Vihaan report to Yash. - Bhavya reports to Uma. - The Head is Kaira in Marketing 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):
- Kaira → Yash
- Kaira → Uma
- Yash → Diya
- Yash → Vihaan
- Uma → Bhavya
Verification:
- All reporting relations satisfied.
- Unique direct manager per non-root node.
- Department/role association consistent with headship.

Question 9

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

Question 10

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

Question 11

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

Question 12

Six employees with distinct departments and roles form a reporting hierarchy. Use the clues to build the tree and answer: - Bhavya and Uma report to Xavier. - Qadir and Sahil report to Bhavya. - Jatin reports to Uma. - The Head is Xavier in Marketing 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):
- Xavier → Bhavya
- Xavier → Uma
- Bhavya → Qadir
- Bhavya → Sahil
- Uma → Jatin
Verification:
- All reporting relations satisfied.
- Unique direct manager per non-root node.
- Department/role association consistent with headship.

Question 13

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

Question 14

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

Question 15

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

Question 16

Six employees with distinct departments and roles form a reporting hierarchy. Use the clues to build the tree and answer: - Mira and Rhea report to Xavier. - Sahil and Qadir report to Mira. - Wafa reports to Rhea. - The Head is Xavier 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):
- Xavier → Mira
- Xavier → Rhea
- Mira → Sahil
- Mira → Qadir
- Rhea → Wafa
Verification:
- All reporting relations satisfied.
- Unique direct manager per non-root node.
- Department/role association consistent with headship.

Question 17

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

Question 18

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

Question 19

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

Question 20

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