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
Hey, i don't think you can delete them. To get rid of them from the 'Unfinished' menu you'd have to complete them
I didn't know you can put a function there! So cool.
Elegant solution.
My guess is changing your code would be faster, there is no ETA on updates in CW.
First of all, thank you for replying, I will mark it as spoiler when needed.. I'm just a little new here.
Will the Node version get updated soon? Or would you advise that I'll change my solution?
Mark your post as having spoiler content next time. Have you read which version of Node supports matchAll?
This comment is hidden because it contains spoiler information about the solution
Ok, solved it with the help of a friend who showed me I misunderstood the pattern.
Eventually I just chose [x,y,z] and started writing
[x,y,z]
[y,z,x,x]
[z,x,x,y,y]
[x,x,y,y,z,z]
.
.
Then it came to me that there's a pattern which finds the perfect run every time:
x,x,y,y,z,z => perfect
x,x,x,x,y,y,y,y,z,z,z,z => perfect
x,x,x,x,x,x,x,x,y,y,y,y,y,y,y,y,z,z,z,z,z,z,z,z => perfect
Still I believe that this should be 4kyu - but I'm no expert lol just a junior.
Yeah yeah of course lol a loop would collapse the universe.. I'm trying to create formulas but it's just too complicated. An extra hint will be wonderful :)
Little hint: don't use loops, use math.
i've been stuck at this problem for a day now. My solution is O(sqrt(n)) and it's still failing. A little hint wouldn't hurt anyone. Please help.
I've been trying to solve this for hours.. I don't wanna give up and see the solution just yet.
Would it be ok to ask for a little hint?
Thank you!!!
This comment is hidden because it contains spoiler information about the solution
Loading more items...