Dynamic Programming Doubt , The Coin Change Problem

Правка en2, от nbz_11, 2017-07-22 01:24:26

I am trying to solve this problem https://www.hackerrank.com/challenges/coin-change/problem I am getting WA on 8 testcases , but am not able to point out my mistake . My dp state seems fine to me. Can someone please help me find my mistake in this code . Thanks in advance :) Link to my code https://ideone.com/WpjdKJ

Теги #dp, #hackerrank, coin change, #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский nbz_11 2017-07-22 01:24:26 12 Tiny change: 'deone.com/hT6iMm' -> 'deone.com/WpjdKJ'
en1 Английский nbz_11 2017-07-22 01:20:30 371 Initial revision (published)