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.
Got it, you're right! Thx! 🙏🏻
However, test cases do not test Unicode, only ASCII.
"Never do that!" sounds extreme. The intention of Kumite is to challenge and not repeat past solutions.
This was to similar to the previous 🤷🏻
I don't get it! What's wrong with the code? 🤔
You're right, vectorMax should be initialized to that to account for negatives.
Copying the vectors isn't an issue. You need two vectors to intrinsically compare two vectors. Doing this alone already compensates for the time spent copying some memory around. Memory is cheap. In fact, doing most things in C# involve allocating memory. A foreach loop even creates copies of values.
From benchmarks I have done a while ago, this method of comparing values in an array is magnitudes faster than any scalar method.