Need HELP in REPLACE for X October long : What is wrong in my code

Question link: CodeChef: Practical coding for everyone
Solution Link : CodeChef: Practical coding for everyone

You missed the upperbound of the number that is to be inserted (in case of multiple presence of the number).

1 Like