Reference To: Shortest Path to Binary Trees
I don’t even know why my code is slow, it is working for all the cases and I am unable to change my approach to increase the performance of the program. what i am thinking is that by any chance of improving could be relating to the formulating of some parts of program.
ahh I’m giving up though it’s not bad that I have tried a problem on binary tree’s which hasn’t yet taught to us.
but I am completely feeling desperate.