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.
This comment is hidden because it contains spoiler information about the solution
@kazk There still seems to be a bug I commented above but I am getting. Time: 2609ms Passed: 1 Failed: 0 Exit Code: 132
My function is passing all the tests both on the test button and attempt button. It's coming up successful with no failed tests but I still can't submit it. The code runs fine with no build or runtime errors in XCode. Thoughts on how to get credit?
@CoolHacker 023 is a viable number prefix.
And what if those three digits \d{3} start with 0, like 023? The number must be not valid in that case.
Could someone explain this code to me?