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.
How did you come up with the hardcoded strings?
If you didn't know them ahead of time, how would you approach this coding challenge?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Your solution's a little hard to read given how bunched up everything is.
Some spaces in between chunks of code would improve things a lot.
This comment is hidden because it contains spoiler information about the solution
c++ in c hashtag is crazy
I also thought about this problem.
One solution to deal with it is to remove repeated characters from the original string then test on the new string.
Coming up with a performant solution for this one was much trickier than I thought.
My solution is so shady lol but cool kata. Learned how to replace from the back.
This was a bit trickier than I expected, especially because you had to remove that last comma before the and.
Good catch!
I'm not sure why anyone would vote this as best practice, but I'm impressed with the patience it took to come up with the solution.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
‹𝟹
Loading more items...