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
Thank you, man.
Take the word "Words", yeah I know very original, now as the kata tells pick the 2nd char which is o then the next 2nd char after the first and so on and in this case it is d then start with W then s then r and then concatenate it and it will turn out odWsr and do this n times
I can't understand description at all
It means that C++ will try to automatically detect the type.
Sorry, I'm just learning C++. For your solution, what does "auto" in "for (auto& i : arr)" do?
I'm not sure what are you talking about
Could you explain what the "auto" class does?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The very first iteration will always be skipped because
iEven
==firstEvent
because you starting loop atarr.begin()
This comment is hidden because it contains spoiler information about the solution
Too complicated for understanding
O(n^2)?