why this code is not passing all test cases??
question is present in before code.
Minimum coins to given value
PLS SHARE THE PROBLEM LINK WITH ME
IF THE FUNCTION RETURNS INT_MAX THEN FOR THAT CASE PRINT -1
i already do that update in this code but also not get accepted
wait 1 second…
shows run time error
check dp array size ,it should be value+1
1 Like
ohh thanks
essi silly mistake le baithti h contest m😂
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.