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 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.
#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)
The tests are correct, your code is mutating the inputs somehow. Not a kata issue.
Fixed
Approved
Your solution is very slow, you can solve this problem using number theory.
It's stated in the problem that RNA cannot have 'T' and DNA cannot have 'U', so how could both of them be in the same sequence for either type?
you can do it without actually raising the number to the power (much faster for huge powers)
is it me or was it quite easy to code in python!
would've been better if C was provided as an option!
Loading more items...