Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I had the same issue but I changed sizeof(arr) to arr.size() and it worked.
Does not work for second unit test.
There also may be hidden requirements such as they pass in a different data/var type and it could through off the code. For instances like this if you truly believe its an error you can raise an issue in the kata and see if it gets fixed, otherwise it may be an edge case.
You can either print the output of the function/variables/etc. and run the tests or use/create your own tests in the bottom right window, that allows for you to do test driven development and work out different edge cases while you attempt to solve the kata.
smart to just add the letter tather than putting it in an else statement!
even i have a habit of using re for substitution, its better when you want to substitute symbols, numbers or any other criteria
This comment is hidden because it contains spoiler information about the solution
Submitting parameters for a function required for this regarding bases should not return passing tests for function(A, B) as well as funciton (B,A); this should be reviewed and the tests adjusted.