Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dingyaguang117 committed Jun 23, 2014
1 parent cf693f4 commit 45c6a9d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
DoubleArrayTrie
===============

DoubleArrayTrie by java

usage
----


DoubleArrayTrie dat = new DoubleArrayTrie();

for(String word: words)
{
dat.Insert(word);
}

System.out.println(dat.Base.length);
System.out.println(dat.Tail.length);

String word = sc.next();
System.out.println(dat.Exists(word));
System.out.println(dat.FindAllWords(word));

0 comments on commit 45c6a9d

Please sign in to comment.