vector to store list of complete words in leaf node
public List < String > word ; public TrieNode ( ) { isLeaf = false ; for ( int i = 0 ; i < ALPHABET_SIZE ; i ++ ) children [ i ] = null ; word = new List < String > ( ) ; } } static TrieNode root ;