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.
math...
a little different but in the meantime it's easy to resolve
This comment is hidden because it contains spoiler information about the solution
tbh i dont know abt this
This is a good one for testing performance but not too harshly
Approved
Oh, yeah, I thought 1 digit could only move 1 place, makes sense, my mind went completly blank. Thank you
That's exactly why your answer isn't correct. There are smaller numbers that are bigger than initial number. 1234567890 < 1234567908 < 1234567980.
Maybe you misunderstood the task, but the clue is in the title.
I think tests are broken on golang, I pass all the random tests, but I fail 2 predetermined ones:
And
I am maybe stupid, but that does not seem to be right answers at all, how is the 0 bigger than 8 and then in the second one 9 has to jump to the end?
Nice one, I struggled a bit because I did not read correctly 🤙
For those who are losing their mind on this. It does not requires particular coding skills. Once you get the math (that is not exaclty trivial...) solving it is just few lines of code. If you do not enjoy learning new math you will probably not enjoy this.
Have fun my friends!
My solution))
This comment is hidden because it contains spoiler information about the solution
so that's why I found it easy to understand and still saw people say its "poorly phrased"
Haskell fork adding a fixed test case that should time out for brute-force solutions.
Loading more items...