Domanda di colloquio di Qualcomm

Find the max value in a Binary Search Tree

Risposta di colloquio

Anonimo

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)