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
18987964267331664557
why?
count(board, r,c, dir[1]) will always return 0, as there should be no discs above the last dropped.
returns true for Sunday 1332
In the description we can read:
"Note: For a perfect power, there might be several pairs. For example 81 = 3^4 = 9^2, so (3,4) and (9,2) are valid solutions. However, the tests take care of this, so if a number is a perfect power, return any pair that proves it."
However it is not true for TestRandomNumbers(), where the solution with the lowest exponent is considered correct.
Examples:
Expected: (32768, 2)
But was: (2, 30)
Expected: (27, 2)
But was: (3, 6)
Your solution will return "AMEX" for any string beginning with "34" regardless its length. Should be (...||...)&&...
I've submitted this mess accidently.
7/3=2