Domanda di colloquio di Amazon

Justify whether a binary tree is a BST.

Risposta di colloquio

Anonimo

9 ott 2010

perform inorder on the tree..if it results into a sorted sequence..the tree was a BST!

4