Zscaler interview question

Questions on graphs and dynamic programming