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 cannot believe this actually worked. The Python never ceases to amaze me
someone still gave this a "best practices" lmao
This language is literally pseudocode, I shouldn't be surprised by this
Wow, I used number theory in my solution, but it wasn't anywhere near this compact
For the JS Kumite edge case test, please write to the console the numbers it actually testing for, instead of just writing "Edge Case"
wow... just wow
There's reinventing the wheel, and there's not knowing the wheel exists. Personally, I fall into the latter category
"TestsStringsUpTo40kLenForPerfomanceAssesment"
that was not very cash money of you
bruh
Better practice would be to declare an int equal to x.Length before the for loop and compare it to that, so x.Size only gets called once
Using a switch statement requires the data type to be an int, but hard converting a double to an int causes the decimal to be lost. OP multiplied by 10 and multiplied the ranges by 10 to circumnavigate that. Since input values only go to one decimal place, this works.
lmao
same, except I was trying to do it with a macro defined for every character
I had to work this out in a Base Mode calculator to figure it out. Placeholders be damned; this is how I'm swapping values for now on