Trie for storing sequences of values.