Correct the return type for languages such as C, C++ and Java


#1

The return type should be an array/vector of treenodes


#2

yes facing the same issue.