Return type incorrect


#1

Question expects a list of treenodes while the function has a single treenode.
Considering this is a checkpoint problem, is it the intent that nobody should pass the checkpoint and move to next topic?


#2

Have you got any solution to it? I am still stuck here. Yes, I think they are intentionally doing so.