Can any one tell me some real world examples of binary tree structure ?
Asked
Active
Viewed 3,022 times
0
-
1possible duplicate of [What are the applications of binary trees?](http://stackoverflow.com/questions/2130416/what-are-the-applications-of-binary-trees) – nawfal Jun 13 '14 at 09:48
4 Answers
2
Binary trees are used all over the place in the real world. Pretty much every major implementation of a sorted data-structure uses one (usually a balanced variant, like red-black).
In C++, map and set are built on it.
Lou Franco
- 85,695
- 14
- 129
- 186
0
Represent a uni-dimensional space.
I don't know world examples other than this one.
But it's large used for logical purposes and indexers.
Marcos Vasconcelos
- 18,038
- 29
- 106
- 167
0
- Databases indexes. When you index a field, it is put in a binary tree for fast retrieval.
- General Searching/sorting. A binary search tree will let you sort and search for data quickly
Byron Whitlock
- 51,185
- 28
- 118
- 166