Find the least common root for 2 numbers in a BST
Anonymous
Dear Lamont, You need another "else" statement which should return runner. Otherwise there will be an infinite loop in some cases (when one of x or y is equal to the current root).
Check out your Company Bowl for anonymous work chats.