Meta Interview Question

tree question of finding right most node