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.
thanks a ton, super cool :)
you got to spill the beans, how does this work?
is this some aproximation thats good till very very far?
thanks, ill get back to also make the tests a bit nicer, was a hectic year for me so I kinda forgot about the command you added a while ago :)
thanks, I added a checker function to randomly test some of the answers
the kata description defines one pass of bubble sort to be only one iteration rather then sorting the whole list
you are right the list won't be sorted at the end, this is intentional
nice :) didn't think of that, hope you don't mind that I change the tests to catch it
This comment is hidden because it contains spoiler information about the solution
hi, I would reccomand having a small edge case section in the code for (0,0), (1,1), (0,1), (-1, 0), (-1, 1) etc preferably in the sample test also
also, maybe adding some random testing would be a good idea, however make sure you genrate random ints and cast them to longs, as dealing with the edges of representable numbers was not defined.
best of luck :)
This comment is hidden because it contains spoiler information about the solution
thanks, :)
.
whoops again sry, solved
whoops, solved
ended up implementing it
Im willing to consider it for comfort however I think a set size data type would be better to explain that target architecture should not change the answer.
Loading more items...