Amazon interview question

All the questions reflected on and around trees, graphs and dynamic programming.