Sollicitatievraag bij Amazon

How do you check whether a given binary tree is a binary search tree or not?

Antwoord op sollicitatievraag

Anoniem

11 okt 2011

Do an inorder traversal, check if elements are in sorted order.

4