32.2%

line 32-33 is the key;
31.8%

similar with remove dup element; mention the change of n and the return
number
31.8%

first: method to get the depth of tree
Then: check the depth
Important: check every sub-tree to make sure the tree is full