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.
added to JS there, so only missing in Haskell
done
done
Approved
This solution have a problem with n1 = n^x and n2 = m^y
these types of questions convinced me to start learning number theory, mind if you tell me specifically whats this about?
me too)))
Wow, I used number theory in my solution, but it wasn't anywhere near this compact
No, it is fast.
The tests will only generate a list, also it is likely you see less test cases because the runner will not display the rest (i.e, halt operation) upon an assertion failure is detected.
There are 2 logical errors in your code:
The largest number starts from rank 1, followed by 2nd largest number etc... , but your code assigns the smallest number as rank 1.
Also, your code does not handle multi-way ties as it only checks the unique positioning of arrays instead of all elements' positioning
#11bfr_42x
your solution is very elegant . thanks for the intel .
python is a black art .
I know it but i dont know the third argument
What a amazing standard library! (but it maybe slow)
Loading more items...