Amazon Interview Question

1 check if a binary tree is a binary search tree 2 a question related to using graph for depenencies