Tries
Implementation
public class TrieSet {
private static final R = 128;
private Node root;
private static class Node {
private boolean isBlue; //Whether this is the end of a key
private DataIndexCharmap next;
private node (boolean isBlue, int R) {
this.isBlue = isBlue;
next = new DataIndexedCharMap<Node>(R);
}
}
}Runtime
Alternate DataIndexedCharacterMaps
Last updated