Problem: https://hack.codingblocks.com/app/contests/1975/21/problem
Code: https://ide.codingblocks.com/s/412680
Giving some errors .
How to correct them?
Problem: https://hack.codingblocks.com/app/contests/1975/21/problem
Code: https://ide.codingblocks.com/s/412680
Giving some errors .
How to correct them?
This is not giving any output
Because there is no output statement in ur code
ok got it thanks…
Also u have to use another array and update the output array in it
Because otherwise u may overwrite the entries yet to come in recursion
I hope u are getting me
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.