Amazon interview question

Hard dp, graph and system design questions