Solution box in kotlin lang just replace packate to package :) . Everything working fine and Thanks for this kata :)
Thank you B1ts and Chrono79! Printing the input helped. Chrono79, you were right. I was confusing the ouput of the function with the input. Much appreciated!
You're confusing the output of your function with the input, to check what the input is, print it. A should equal B means your function's output A should equal the expected value B.
A should equal B
Thanks for the reply! You are correct, I'm using Python.
Here are the example strings that are failing:
'dr' should equal 'Mdr'
'vvvvvvvuuuuuuuccccccc' should equal 'davhbvvvvvvvuuuuuuuccccccc'
'bbbbbbbbbvvvvvvvvveeeeeeeeedddddddddddvv' should equal 'cvybbbbbbbbbbvvvvvvvvveeeeeeeeedddddddddddvv'
'FFFFFFFFFFCeaaaaaccccc' should equal 'AFdFFFFFFFFFFCeaaaaaccccc'
'GccccccccbbbBBBFFFF' should equal 'aGccccccccbbbBBBFFFF'
'AAAAAAAABBBBBBBBeeeeeeeeDDDDDDBBBBFFFFeeeeeeeee' should equal 'dAAAAAAAABBBBBBBBeeeeeeeeDDDDDDBBBBFFFFeeeeeeeee'
'AAeeFFbbddcc' should equal 'aeBCAAeeFFbbddcc'
'CCCCCgggggCCCCCCbbbbbBCbbbbbb' should equal 'FCCCCCgggggCCCCCCbbbbbBCbbbbbb'
'bbbbbbbgggdddAAAAAAggggggggggfffffffff' should equal 'fbbbbbbbgggdddAAAAAAggggggggggfffffffff'
In the above examples, I don't understand how the strings that don't contain integers should equal a string that have extra characters in the beginning of the string.
Hey. Thanks for using the question tag!
When you hit submit, there's many hidden test cases to make sure your solution is correct. You can see which input fails by using print(s) and submitting (I'm assuming you're using python)
Just looking at the surface, it could be that you're not handling uppercase letters, or if it's for example 1A, you could be ignoring that.
To help you further, I need to see which input string fails :P
This comment is hidden because it contains spoiler information about the solution
Please, escalate ewingsa's report, mixed tests comlicate debug alot
C++ Translation :)
Please review and approve.