Minimum Money Needed

Why is the 0th row being initialized with INF here i didnt understand that part?

@aryamaan1011
Please send the question link.

@aryamaan1011
It is being set to INF because it is impossible to create non zero weight without selecting any elements.
Thus we set it to INF.

If my answer is able to answer your query, please mark the doubt as resolved.