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.
Caught std::exception, what(): stoi
Wtf is this?
I know right :)
My solution is even faster tbh
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.