Citadel Securities interview question

Some dynamic programming and graph questions