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.
i think stoi only converts string to int (aka 32 bit numbers)
Caught std::exception, what(): stoi
Wtf is this?
thanks
I know right :)
My solution is even faster tbh
you are right, sometimes just nedd to think more
Thank you very much.
This comment is hidden because it contains spoiler information about the solution
Time complexity O(1) this is best solution so far
Best solution by far and should be top 1 imo.
However as a good practice I'd probably put a third arguement into the callback which would be the iterable itself, thus rendering the callback a pure function.
Best solution by far and should be top 1 imo.
However as a good practice I'd probably put a third arguement into the callback which would be the iterable itself, thus rendering the callback a pure function.
Best solution by far and should be top 1 imo.
However as a good practice I'd probably put a third arguement into the callback which would be the iterable itself, thus rendering the callback a pure function.