Add flatten(TreeNode*)