Sollicitatievraag bij Amazon

Justify whether a binary tree is a BST.

Antwoord op sollicitatievraag

Anoniem

9 okt 2010

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

4