where is the error in the code ?
1 count DP problem
hello @mandeepchohan96 have you seen the output format in the sample test case ?
you have to print the new array as well after making changes .
1 Like
hello @mandeepchohan96 as you are not responding i think your doubt is cleared .
you can now mark this doubt as resolved .
on off the chance if you still have doubt you can reopen the doubt and we will help you in getting your doubt cleared .
Happy Learning !!
thanks , i had marked it resolved!