Applied Intuition Interview Question

Something about finding a max value in a tree