Bank of America interview question

Tree problems in data structures