IN JAVA LANGUAGE
FILL OUT THE FIND MAX FUNCTION
public int findMax();/* Returns the largest element in the tree.* This method should call upon the recursive findMax_r() you write.** @return the largest element in the tree (an int value)* Example: findMax() will return 29 for the tree below** (28)* / \* (14) (29)* /* (1)*/
DO THIS BY CALLING A RECURSIVE FUNCTION
SHOULD RETURN LARGEST ELEMENT IN A BST
THANK YOU!!!!!
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here