Block interview question

graph traversal, binary search tree, OOP