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
It is pretty rare to have a best practice be while(true) and conditionally break;
I get its prettier to read than the next solution but this is a bad habit.
I had no idea reverse existed in the std namespace...thanks!
Oh god, arithmetic series... I'm getting flashbacks from discrete math!
i learn a lot standard library from solution
This comment is hidden because it contains spoiler information about the solution
how is this best practises? I don't see anything being done the "best" way.
T_T
While this works,
push_back
in a loop results in unnecessary allocations as the vector expands, you shouldreserve
the result vector first.This comment is hidden because it contains spoiler information about the solution
On one side I feel bad for not figure this kind of solutions out just cuz' I forgot certain lang feature exists, on the other side I love checking them out to see how they work.
But hey, practice makes perfect
so this code does not fulfill the technical task of the exercise!!!!
I’m new here, and from the other scripts it’s clear that the technical specifications have been met. Well, sorry, you can’t tell from this.
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...