Hii Rishabh here,
For this problem where i get the implementation as in the end, Prateek Sir says I will show implementation in the next video.
DP - Minimum Coin Change Problem
well you can refer this coding blocks resource for dp
scroll down for code @singh_rishabh
if your doubt is cleared dont forget to mark it as resolved