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.
yw :)
Hello,
the "i" is not important to use, we just use it to loop for n-times :)
Haha, yes, my solution is showing its age :<
cool :)
Just a quick suggestion: maybe add a notice that there will be self-referencing nodes. I mean, you dont have to, but had only seen it as i was poking around with viewing the input :-)
Anyway, cool Kata :)
well, only thing that is hard is to see the pattern imho ;-) i have chosen 7 kyu
Really enjoyed, really cool :)
Yeah, well, it was the first time i coded test cases, so i really didnt want to screw this up :D but yes, likely overkill haha
Hey, i helped with the test cases, can you review if they are ok now, would be cool
There you go, i added 100 random test cases. They generate a valid solution, and generate a task by adding all the other numbers at least twice. I shuffled the "clutter" array, and merged the "solution" and "clutter" together randomly. The clutter array has the same number at least twice, sometimes three times. I "republished" after that, i think thats the right way. Also note that i tested this with my (previous valid) solution again, and its still valid.
I think that should be good, but that was the first time i did it, so feel free to change it or give back critic :)
Ok ! I will look into this. I have contributor rights, i will look into it and come back to you.
Please add random test-cases for this.
i really like this kata. Sounds easy, but has some interesting concepts you need to understand. Nice one :) !
This comment is hidden because it contains spoiler information about the solution
Just wanted to say: love this kind of katas, looking forward for more :) Good work!
Loading more items...