If there is no edge corresponding to the ith character , then make a new node
temp . child [ ord ( s [ i ] ) - ord ( ' a ' ) ] = TrieNode ( ) NEW_LINE temp = temp . child [ ord ( s [ i ] ) - ord ( ' a ' ) ] NEW_LINE