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
This comment is hidden because it contains spoiler information about the solution
k
seems to be a single digit number, andn
is only up to a few million (7 digits) long (Python version), so if you're getting timeouts, you should reconsider your approach.What in tarnation is happening here?
Yay, I found the easter egg :D But now I'm stuck :(
You should highlight the character limit in description. Right now it's kinda buried at the end.
Isn't this the exact same kata as the one you linked in description?
When there are 0 of what? Arguments? Quantity? It doesn't matter how many there are, you need to add every category to the result (even if there's no books). Printing function arguments might help.
I ran your current code and a random test with
stocklist = ['WQHXKEHMJC 201', 'LYUYOJBCUT 158', 'BDZVLXTMTA 562', 'KQBYGDDWLL 928']
,categories = ['R']
returned''
, when the expected result is'(R : 0)'
. The result is based on categories, and seems correct to me.There's no issue with kata results that I can see, but feel free to reply.
Approved.
Approved.
Fixed tests of final tests suite are missing mention of
n
in the title.Minor issue: the class for final tests should probably be called
Tests
, notSampleTests
.Approved.
Approved.
Loading more items...