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.
👏👏 Underrated
Thank you! Yes, it works:)
Thanks a lot for the response! I tried to replace d[player].add(group) with d[player].update(group) as you suggested in the other comment, but it still does not work for this input.
Correct! The kata's test cases should be updated, if possible. Thank you for the comment. It could help people who come across this solution.
Edit: The error is probably in the second last line -- see the other comment below.
Please check this input:
s = [
["AB", "AC","DE"],
["AD", "AE", "BC"]]
The function returns true, though it should be false, since A is playing twice each day. Thank you!