Why is the 0th row being initialized with INF here i didnt understand that part?
Minimum Money Needed
@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.