codewars / content-issues

Higher level issue tracker for the Codewars content.
15 stars 1 forks source link

Review "String incrementer" #183

Open hobovsky opened 1 year ago

hobovsky commented 1 year ago

The kata String incrementer could use some improvements:

I could fix the kata, (and use this opportunity to collect some samples for my library of snippets ;) ) but first it would have to be decided:

It would be also nice to figure out what are potentially interesting inputs. For now, I got:

Something else I am missing?

hobovsky commented 1 year ago

Another idea: remove the kata, replace it with a new one, with additional requirement of handling all occurrences of digit string except the final one (i.e. for input "1ab23cd04e-56gh99" would be "2ab24cd05e-57gh100".