Kumi Labs interview question

Questions about graph and dynamic programming