Arista Networks interview question

Code for largest bst in binary tree