2. AMIERUDDIN AFIQ BIN ABD RANI (300989) 1. INTRODUCTION 3. DAHIYAH NAJWA BINTI SALI (298567) In discrete mathematics, a rooted tree is a tree data structure where one vertex is distinguished as the "root." This root serves as the starting point for traversing the tree, and Level 0 every other vertex is connected by edges, forming branches Level 1 and subbranches. The relationship between vertices in a rooted tree is hierarchical, with the root at the top and Level 2 descendants below. Rooted tree can be present as data structure. 1. A is a root. 2. B-parent of D & E/C-parent of F & G/A-parent of B & C 3. A is an ancestor of B, C, D, E, F & G. 2. PROBLEM - How manager find 4. B, C, D, E, F & G is a descendants of A employees. 5. D & E are sibling/ F & G are sibling NOTE BC Company needs marketing staff. they has to collect and 6. B & C are internal node height - length of check information from candidates, following legal and 7. D, E, F and G are leaf largest path below root to any leaf ethical standards. they also has to assess their data structure. How can they find employees from the data structure by applying rooted tree? 3. OBJECTIVES TO BE ACHIEVED
4.0 RESULTS & FINDINGS
1. Integrate the rooted tree into relevant applications or systems, ensuring seamless interaction and utilization in practical scenarios.
2. To compile all the data of applicant in easy way.
3. To optimize the solution by reducing the space
and time complexity of the algorithm.
1. Identify the categories of the applicant . 5.0 CONCLUSION
Name, contact info, high school and appication data In conclusion, the applications of trees in data structures are 2. Gather information for each category. far-reaching and impact multiple facets of computer science Name: first, middle initial and last and beyond. Trees provide elegant solutions to intricate Contact info: address(including street, city, state and problems, offering efficient data organization, optimized searching, and hierarchical representation. From databases postal code), email and phone (home phone and cell and file systems to artificial intelligence algorithms and phone) network routing, trees play a vital role in enhancing Highschool performance and enabling effective data management. The Applications data: major, application paid, SAT (math and verbal) techniques offered tackle important goals of the and recommendations (1,2and 3) incorporation of a rooted tree into applications, gathering 3. Create nodes for each element candidate information, and enhancing algorithmic 4. Connect the nodes. effectiveness. A smooth interaction and useful application 5. Organize hierarchically. are guaranteed by the rooted tree's integration into pertinent Place the main categories at a higher level and connect them to systems through the use of a modular and well-documented subcategories or individual elements using lines for each element. strategy.