SyntaxFix
Write A Post
Hire A Developer
Questions
No answer mentions over-simplified but working code, so here it is:
public class TreeNodeArray<T> { public T value; public final java.util.List<TreeNodeArray<T>> kids = new java.util.ArrayList<TreeNodeArray<T>>(); }