Confused Regarding Cses 2nd DP Question

Revision en1, by anmolsainiii23, 2023-10-29 17:24:08

Hi I was practicing the dp section of CSES and I was Solving this Question Minimizing Coins and I approached Pick and Not Pick for this question. But Couldn't Solve it. This is my Code Code. Can anyone Explain ?

Tags cses_helpline, #cses, dynamic programming, recursion

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English anmolsainiii23 2023-10-29 17:24:08 384 Initial revision (published)