Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5dab472

Browse files
add Trie_representation
1 parent 5caeb2d commit 5dab472

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

‎src/main/java/ir/sk/adt/datastructure/tree/trietree/Trie.java‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
import ir.sk.helper.pattern.HashingIndexPattern;
77

88
/**
9+
* Trie also called digital tree or prefix tree,[1] is a type of k-ary search tree, a tree data structure used for locating specific keys from within a set.
10+
* Unlike a binary search tree, nodes in the trie do not store their associated key.
11+
* Instead, a node's position in the trie defines the key with which it is associated.
12+
* usage: Replacement for hash table
13+
*
914
* Created by sad.kayvanfar on 5/18/2021.
1015
*/
1116
public class Trie {
76.8 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /