Incorrect Return Type of the method


Return type should be vector<TreeNode*> instead of TreeNode*


I am facing the same problem. I tried to change the default code but that didn’t work. I don’t know how some people managed to solve the problem?


Confirm, the same problem with Python.


Facing same problem with java. Earlier return type was ArrayList, now its just TreeNode when clearly the answer expects a list of TreeNodes.


Facing the same problem.Please correct it ASAP