Why my code is not passing test cases


here my code is not passing test cases
ALSO I AM NOT ABLE TO WRITE THE SPECIAL CASE AS IN THE SOLUTION VIDEO PLEASE GIVE A HINT OR WRITE IT IN THE FINAL CODE

Hey the only issue in your code is like for input “10200” with value k = 1, expected output is 200 yours give 0200, so you just have to deal with this starting 0. You can apply it by doing this.

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.