What is the problem with code not providing the output

hello @Parmeet-Kalsi-1631789033630118

u need to print the number of nodes in ur largest possible bst,
right now u r printing height,correct it

got the mistake , i was giving the ouyput as the height of largest bst but it requires the number of nodes in the largest bst