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.
defintiely not pure if it performs a mutation to the parameter, pure functions don't have side effects
.toSorted could be used in modern js
This comment is hidden because it contains spoiler information about the solution
how does this even "compile"? find returns T | undefined not T
For TS
Description states:
The strings will always be "well formed", meaning with a space on each side of the operators.
Logging the input of random tests determines that this was a cruel lie...
example :
8512366752971078000008@6@31@30@29@12@36@8@30@25@32@35@6@22@9@30