Wrong output for this testcase


#1

79 8 9 0 1 4 4 7 5 8 9 6 0 7 2 7 1 9 5 6 1 4 9 4 5 8 3 5 0 4 4 3 9 9 3 0 7 4 0 7 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
For the above output, that answer is 1. We will find a subtree of preorder 9, 1, 4.