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 tried it both ways. If I return 0s I get more errors in random tests. If I return "" I get less errors. But still get errors
There's a very poor description of the condition in the kata!!!
I'll add a condition that will help you solve the problem.
You need to check that it does not return null variants.
For example, you have stock_list([[“ABART 20”, “CDXEF 50”, “DKWRK 25”, “BTSQZ 89”, “DRTYM 60”], [“W”, “H”]))
Your program will return the value "(W : 0) - (H : 0)", but since all values here are NULL, the program MUST RETURN an empty string ""