Dynamic programming formulation - intermediate vertex set grows iteratively PYQs | Prasnya