Can someone please point out why the code giving WA for this problem http://www.spoj.com/problems/BST/
I have just calculated height of nodes : http://ideone.com/WhPKUe
Can someone please point out why the code giving WA for this problem http://www.spoj.com/problems/BST/
I have just calculated height of nodes : http://ideone.com/WhPKUe