MSCI interview question

CTCI easy questions from Tree and Linked Lists