This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
/** | |
* Ternary search trie basic implementation. This piece of code was modified by Dimitris Vlachakis | |
* on 18/9/2017. You can find more info about the original work and its authors (Robert Sedgewick | |
* and Kevin Wayne) <a href="http://algs4.cs.princeton.edu/52trie/TST.java.html">here</a>. | |
*/ | |
public class TST<Value> { | |
private int size; // size |