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
Thanks a lot! It helps me very much!
This comment is hidden because it contains spoiler information about the solution
Nice kata! Learned a lot.
I got True with this input in my solution.
Nice kata!
It seems too easy for 3ku. Nice kata, anyway.
You must have ignored the keyword "least".
Back to the sample,the differences between 8 and 1 is greater than 5 and the distance between them is the longest.
So the answer is 2.
agree!
Same issue...Before I saw these comments, I thought there must be some errors in my codes.
So there's something wrong with the test cases?
Expect someone to fix it, and nice kata! Thanks anyway!
Without numpy, it can also be solved in less than 20 lines.
//To be honest, the reason why I didn't use numpy is that I was not familiar with numpy at all. What a shame :(
Nice kata!
It forced me back to review the knowledge of pointer.
Is this kind of cheat?
Thank you! I just passed the test!
Marked the question as resolved already.
Cheater! I don't think it's good to do this...
Loading more items...