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
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US