Largest BST in a BT


plz check my code, it fails at testcase no 3,

@Bhavya_Goel hey corrected your code please check: