Disney+ Hotstar Interview Question

Some dynamic programming and graph problems