HashedIn by Deloitte interview question

All question and Trees, Graphs, dynamic programming and recursions