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.
All I know is this is definitely too hard to be Kata 6... (JS)
That depends on Node version.
This comment is hidden because it contains spoiler information about the solution
"If a or b are empty then the result is self-evident" Is this a joke? I wonder who are the geniuses who wrote and approved these wording.
Well, I added it…
My first edit :)
This comment is hidden because it contains spoiler information about the solution
Javascript, using only one for loop to iterate through the arr and it times out. I don't see any way we could complete this without iterating at all.
I was not able to solve this in JS, unlocked the solutions and looked at them, still no idea why these solutions work.
Ooooh alright i got it now, thank you.
The algorithm itself is very hard to understand and apply for me so I have been avoiding it for some time but it looks like the time has come...
have you tried using
console.log()
to see the other inputs?wut?
You guys should make all the tests visible. The sample tests are passed but later on something throws error. How to see what is failing as I can only see the sample tests, not the tests that are given after Attempt.
Those comments are about some languages that have built-ins for this task. About your question, did you try?
Loading more items...