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
This comment is hidden because it contains spoiler information about the solution
i'm deceased
You should think for yourself, not in my place.
This code doesn't follow typical styling, which would have the line broken into a couple new lines and helps dramatically with readability. I think some believe one-liners look cooler.
How did you solve problem?
Yeah, you're right, this is one of those times when all the tests pass and you forget to refactor.
This comment is hidden because it contains spoiler information about the solution
"redundant", like in posting the same comment twice?
Are you sure that blindly subtracting values from
std::vector::end()
makes for a safe operation and therefore a valid loop condition?