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.
Thanks!
Random test cases include strings of fewer than 5 digits although insrtuctions say to expect 5 or more. - the same issue is with Python
Can anybody please give me a hint here?
My code fails at
Test.assert_equals(greatest_product("92494737828244222221111111532909999"), 5292)
.The input string can be represented as a 5-element consecutive numbers series:
What I'm getting with numpy:
So, according to this the max value is 2592 thus how can there be 5292? Am I missing something?
Can anyone provide a formula please?
For what does d state here for?