Pregunta de entrevista de Amazon

Justify whether a binary tree is a BST.

Respuesta de la entrevista

Anónimo

9 de oct de 2010

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

4