CNode renderTree(final List<CNode> list) { // Build the tree recursively starting from the root node return buildTree(list, null).first; }