Why I am getting this kind of error ? any volunteer


#1

A : [ 1 ]

Your function returned the following :

Returned tree's PreOrder traversal : [ 1 ]Returned tree's PostOrder traversal : [ 1 ]

The expected returned value :

Inorder Traversal : 1