I hereby claim:
- I am iowaguy on github.
- I am benweintraub (https://keybase.io/benweintraub) on keybase.
- I have a public key ASAnfrULEkCZqAJeGi_jtzZEBHOanFYTtXMG5sBEk0sWdQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import java.util.LinkedList; | |
public class Node { | |
public String name; | |
public LinkedList<Node> children = new LinkedList<Node>(); | |
public Node(String name) { | |
this.name = name; | |
} |
import java.util.NoSuchElementException; | |
public class TernaryTree { | |
private Node root; | |
/** | |
* Insert node into root of ternary tree. | |
* | |
* @param newValue The integer value to be inserted into the tree. |