Min coin change dp?

how will I come to know will the greedy approach work or not?
hit and trials?

Hey @mehulbhandari358

That comes with practice

You come up with an algorithm
Try it test it, once u fail then think of a test case where it’s failing
repeat again

hit and trial right?

Yeah right . …