First version of the Plus one problem.
First version of the Same tree problem.