Skip to content

Commit 1fefac3

Browse files
Update README.md
1 parent 9db9e8f commit 1fefac3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

binarytree/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Binary Search Tree
2+
(Binary trees become truly useful for searching when you balance them)
23

34
**What kind of problems are commonly solved via binary search tree:**
45

56
- Commonly used in search applications having data entering/leaving in a constant way (e.g., *map*/*set* objects languages libraries.
7+
- Build binary heaps where higher keys are above or equal to lower ones rather than to the left of (or below or equal to and right).
8+
- Hash trees, similar to hash tables.
9+
- Implementing routing table in router.
10+
- To solve database problem such as indexing.
11+
- Data compression code.
12+
- Organization of Morse code.
13+
- Recursively evaluated mathematical expression.
14+
- Abstract syntax trees for compilation of computer languages.
15+
- Huffman trees for compression of data.
16+
- Routing trees for network traffic.

0 commit comments

Comments
 (0)