• ###### IvanGS06commented on "Last digit of a large number" python solution

This solution have a problem with n1 = n^x and n2 = m^y

• ###### Azoz-focuscommented on "Last digit of a large number" python solution

these types of questions convinced me to start learning number theory, mind if you tell me specifically whats this about?

me too)))

• ###### dfhwzecommented on "Clock Hands" kata
``````Testing for 955
Log
955
Should work for random inputs too -

Expected:

'[\'12:42:43\', \'01:48:10\', \'02:53:38\', \'03:59:05\', \'05:04:32\', \'06:10:00\', \'07:15:27\', \'08:20:54\', \'09:26:21\', \'10:31:49\', \'11:37:16\']'

'[\'12:42:43\', \'01:48:10\', \'02:53:38\', \'03:59:05\', \'05:04:32\', \'06:09:59\', \'07:15:27\', \'08:20:54\', \'09:26:21\', \'10:31:49\', \'11:37:16\']'

``````
• ###### theAmazingJunkmancommented on "Last digit of a large number" python solution

Wow, I used number theory in my solution, but it wasn't anywhere near this compact

• ###### mauro-1commented on "Last digit of a large number" python solution

No, it is fast.

• ###### ejini战神resolved a question on "Rank Vector" kata

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.

• ###### ejini战神resolved a question on "Rank Vector" kata

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

• ###### p3yif102commented on "Last digit of a large number" python solution

#11bfr_42x

your solution is very elegant . thanks for the intel .
python is a black art .

• ###### penghao123456commented on "Last digit of a large number" python solution

I know it but i dont know the third argument

• ###### penghao123456commented on "Last digit of a large number" python solution

What a amazing standard library! (but it maybe slow)

• ###### Abdou_whcommented on "Last digit of a large number" python solution

Your solution is very slow, you can solve this problem using number theory.

• ###### Awesome A.D.created an issue for "Social Golfer Problem Validator" kata

This comment is hidden because it contains spoiler information about the solution

• ###### ahmet_popajcommented on "Social Golfer Problem Validator" kata

Very nice and challenging kata, compliments for this one, I had a lot of fun solving it.

• ###### morozantoncommented on "Last digit of a large number" python solution

you can do it without actually raising the number to the power (much faster for huge powers)