Skip to content

Tst

This section explains the concept, its importance, and when to use it.

Tst

TRIE

Trie / radix tree / prefix tree

Use Cases: - With the help of tries we can search and sort strings very very efficiently

INSERTION

Use Cases: - Sorting

Autocomplete

Trie as a map

We can replace hash tables with tries  tries are more effective for search misses

Tries may be slower than hash tables

Applications

tst

Use Cases: - TST support sorting operation !!!

We should combine tries with TST

Hashing

It can be used to implement the auto-complete feature very very efficiently

IP routing with trie data structures

The algorithmic approach and key insights for solving this problem.

Algorithm