Amazon interview question

Questions related to binary search tree, Graph