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.
i think im going to need to attack it in a fundamentally different way. those huge tests must be absolutely massive numbers.
Still not there yet.... The first 108 tests are executing is 74ms but the huge number tests always time out. Im not sure i can make this thing any more efficient than it already is.
This one is really throwing me for a loop. Ive managed to write a solution that passes 108 of tests, and in the test example is actually more perfomant than the example only needing 3 steps instead of 5, but i still time out every time. Guess its back to the drawing board again.
Not complaining by the way, I like a good puzzle, just stating this one is more challengin than usual for me.
This took me waaay too long to figure out. I think i spent a total of 10-12 hours over the course of a few days before i realized i didnt need to do anything with logarithms or find the base of every number in existence, this was a great excercise.
Ive managed to solve it, technically, now i am struggling to speed it up enough to keep it from timing out on the larger calculations. the first 6 tests go through no problem. but after that it always times out for taking more than 12 seconds. Its definately an excercise thats got me thinking.
ok, i see what i was missing. Thank you. The wording on this one could have been done a little better. I just need to find a way to make it more perfomant.
ok, wich part am i missing? my algorithm works up to that particular value. 17^3 = 4913, but 17^4 = 83,521. and 4913 has 4 digits.
It seems the 4th value isnt quite right, unless i am misunderstanding it. 4+9+1+3 = 17; 171717*17 = 83,521; 83521 !=4913