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.
Yes, thank you!
Huh, GREAT kata! Not too happy with my own solution, but, at least - it exists! :)
79228162514264337593543950340 should be the power of two. Few wrong tests, after all this time.
That doesn't make any difference. I just wanted to say that the rank is a relative thing. :) Btw, my rank here is higher than i deserve. Also, some 7kyu or 6kyu katas can be harder than 5kyu katas, for someone. Peace.
print(lcs('abcdefghijklmnopq', 'apcdefghijklmnobq')) #This test has broken my "solution" too.
Same here, too. Strange. But, is it actually, correct? Sum of divisors for 441 is 300, if i am right?
Ok, thanks, now I tried, and i failed on this example/test: [15, 13, 7, 26, 10], 30). Output should be 3, right? (15+13),(10+7),(26) Or, i guess order is important. Ok, got it.
Could I ask: how many vehicles can pass in the same time? How many tracks are on the road? Are two vehicles in one pass - max?
This comment is hidden because it contains spoiler information about the solution
35 characters min, here too... Walrus didn't helped too much... :)
I know. That's why i said that more tests are needed? If 99,9% tests are passed with the false "solutions", people will have tendency to hard code problematic part. :)
This comment is hidden because it contains spoiler information about the solution
Hm, re-check your solution again. Universal solution can handle datasets like this....
I have a feeling that my solution will time out, for sure, but, let's try. :) Seems very challenging.
Pretty nice, and easy (at least in Python). I have seen several 5 kyu katas which are much, very much harder...
Loading more items...