Trees? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Trees?

Anyone have any implementations on sololearn? Also, just kind of want to make sure i understand the purpose, the tree is a structure that allows rapid searches to be done by splitting data into different branches? If we were using numbers, one branch is presumably larger numbers and the other smaller, and this trend remains the same throughought all the children? Like in the red black tree lesson. Im curious as to when it would be a good idea to use this data structure? Any language would be ok, just have a healthy curiousity.

2nd Sep 2020, 3:01 AM
Robert Atkins
Robert Atkins - avatar
1 Answer
+ 1
Hey Robert, You may check out this link to get the good idea about the implementation of Tree https://www.geeksforgeeks.org/c-programs-gq/tree-programs-gq/
2nd Sep 2020, 7:08 PM
Harsh Vardhan Singh
Harsh Vardhan Singh - avatar