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.
Approved
C fork
Fixed.
python new test framework
Approved
The answer is almost definitely "it's platform dependent" and "how much does the JIT like you?".
I can change the author solution to be the other one if people want though, I just think that the current one is cute.
For an 8kyu kata, I would prefer the single, simple, descriptively named API call.
Node 12+ has been enabled now
Ta!
that does not seem to be true, as there is a fixed test
[34_241, 23_434, 2_341]
in all languagesplease add the
performance
tag; the naive solution times outNode 18 support
This can be not easy to estimate because there are two opposing mechanisms at play:
fold
approach is elementary, simple operations, but possibly in bytecode, which needs to be executed on the VM,So you have either a very basic logic but possibly in a higer-level layer of execution, versus a more complex mechanism but possibly closer to the metal. And as it usually comes to performance tuning, it's difficult to tell exactly without measuring.
Scala translation
Merged.
Loading more items...