Binary tree shortest path b/w node

bhaiya is there any mistake in the code I did it according to the video instructions but not getting exact ouptut

@ikshit9
at line 71 compare left with -1 you are comparing it with 1.