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.
Somewhere, a compiler is weeping, but your solution works hopefully!
Naah this was wayy to fun I just forgot once that functions cant be inside other functions lol but other than that I found it very intriguing. I also didnt really understand what was wanted from be but I found what they meant in the questions section.
God I made the worlds most inefficient and straight up nightmar-ish solution to this, I'm sorry world
same!
Thank you a lot, I was not aware of that!
When you hit "test", your solution is only run against the sample tests that you can see at the bottom of the code editor. When you hit "attempt", your solution is run against a much larger set of tests that aren't visibile to you. You can always print the input to the console to see what the inputs are though.
heyy why does it work when i try but doesn't when I attempt?
Failed asserting that null is identical to -3523.
and when I try it passes all the tests???
love it - i've solved it in the most inefficient way possible with 2 different arrays and 3 for loops lol welp i'm still learning
That was fun! I was also able to use foreach this time instead of plain old for loop, so happy to have this opportunity!
I did a terrible job of it but I'm really happy with being able to make something work!