I couldn’t understand what is wrong in the code?
Please help me in correcting the code because all test cases are showing wrong answers.
Largest BST in a BT-binary tree
@Rishab
You are supposed to print the count of no of nodes as output. You are printing the height of the BST instead of its total no of nodes. Kindly make this change and try again, Let me know if you need any further help.
1 Like