Implementation of Double-Array Trie
