Qualcomm interview question

Find the max value in a Binary Search Tree

Interview Answer

Anonymous

19 Nov 2013

I think the question is about binary tree, not binary "search" tree Think about DFS (using queue, arraylist) and BFS (using recursive function - with preorder, inorder, or postorder)