Qualcomm Interview Question: Find the max value in a Binar... | Glassdoor

Interview Question

Software Engineering Intern Interview(Student Candidate)

Find the max value in a Binary Search Tree


Interview Answer

1 Answer


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)

josh on Nov 18, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.