Hash Tables: Ransom Note

  • + 7 comments
    return not (Counter(rasom) - Counter(magazine))
    

    is even better