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.
This comment is hidden because it contains spoiler information about the solution
Great Kata! Do you think it'd be possible to group your authored kata into collections of topics? I really like the idea of katas such as this
one based on themes of increasing difficulty and it'd be nice to have them in a collection rather than scrolling through all of your authored katas
each time.
Thanks!
I see it now thanks!
I think you forgot to attach the rest of the solution. It cuts off in the middle of the for loop.
Is it possible to solve this using XOR? I can see how we could if there was only one number which appeared once in the array, but I'm not sure how to implement it with the condition of 2 numbers repeating in the array.
Nice solution. Do you think there's any way to assign jobs in the 2nd for loop where you're allocating the correct number of jobs but not in the correct order?
When you're comparing functions on jsperf.com, how do you upload test cases? Does the website automatically pass in large arrays to the functions or is there a section where we manually add test cases?
Hey I saw that you tried different functions on jsperf.com. My question is how do you upload the test cases? Does the website automatically input arrays as arguments in the function? Or do you have to manually put in test cases somewhere?
Why do you hate recursion? It seems like a great method for certain problems.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution