when i submit this problem geeksforgeeks
it give error
https://practice.geeksforgeeks.org/problems/minimum-steps-to-minimize-n-as-per-given-condition/0
when i submit this problem geeksforgeeks
it give error
https://practice.geeksforgeeks.org/problems/minimum-steps-to-minimize-n-as-per-given-condition/0
@khemchandrs
Please see this modified code of yours
It was an odd issue
Using static array instead of dynamic one helped
Please close the doubt
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.