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.
Terribly wrong solution!
Such inputs like ("codewars", "code", "wasr") and ("codewars", "cwdr", "oeas") should result in False because order is important! See intructions: The restriction is that the characters in part1 and part2 should be in the same order as in s.
Anyway, this solution would give True for obviously wrong cases like ('adeh', 'bc', 'fg'), where count_chars gives equal result.
However, this solution passed the tests! What a nice illustration how difficult proper testdesign could be :)