Pergunta de entrevista da empresa Amazon

Justify whether a binary tree is a BST.

Resposta da entrevista

Sigiloso

9 de out. de 2010

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

4