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.
With latest JS version, you can see every assertion as a standalone block, displaying the given input.
Very clean.
Some crazy magic happening here. I don't quite understand what's happening with my low level understanding, but very cool.
Very efficient!
Some crazy magic happening here. Can't follow it with my low level understanding at this stage, but pretty cool.
OP solved it, closing
Just a heads up. Your 1 seed sequence looks off. When checking it against the values in the description your 1 seed sequnce is off from 22 onwards. The 1 seed sequence from the description is [1, 2, 4, 8, 16, 22, 26, 38, 62, 74, 102, 104, 108, 116, 122]. The first convergence for 3 seed and 1 seed would be 26 (index 5) whereas it's missing from your 1 seed sequence.
Found this more challenging than I initially thought it would be. Had to try a number of different approaches. But, very rewarding to have it completed and pass all tests. Nice one : )
This comment is hidden because it contains spoiler information about the solution
The recent kata doesn't have php 7.0 to print inputs . We cant print on the php 7.4
Not gonna lie. That one hurt a bit.
Thanks for pointing me in the right direction. That's very helpful. I'll look around and see what I can find.
What did it for me was looking up an algorithm to do this. It exists. It's not something that just comes naturally to the mind of a non-mathlete. Oh and uh you don't need to sort anything. It looks like you are on the right track though.
I had to go to google for the answer to this one because I haven't studied math that much. <-(Hint)
I don't think this one is really 6 kyu. It is harder for someone without math training.
This comment is hidden because it contains spoiler information about the solution