all AI news
Understanding Tree: Features, Time Complexity, Difference between BFS and DFS
Aug. 17, 2023, 7:03 p.m. | Masaki Fukunishi
DEV Community dev.to
This article is based on a course in the following repository.
https://github.com/cookie777/altgorithm-data-structure-crash-course/blob/main/tree.md
What is Tree?
A tree is Graph with no cycles
- Nodes :V
- edges : V - 1
Why Tree?
Tree usages
- Hierarchical relationships
- Manage sorted data
- Enable fast searching operations
Terms
Root
The topmost node that has no parent.
Parent
A node that is connected directly above another node in the hierarchy.
Children
A node that is connected directly below another node in …
algorithms article complexity computerscience course data datastructures difference features graph hierarchical operations relationships searching terms tree typescript understanding
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Founding AI Engineer, Agents
@ Occam AI | New York
AI Engineer Intern, Agents
@ Occam AI | US
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Machine Learning Engineer - Sr. Consultant level
@ Visa | Bellevue, WA, United States