from collections import Counter
def generateDocument(characters, document):
return Counter(document)-Counter(characters)=={}
'Algorithms and Data Structures > Coding Practices' 카테고리의 다른 글
Kattis Skru op! (0) | 2022.07.19 |
---|---|
AlgoExpert Three Number Sum (0) | 2022.07.19 |
AlgoExpert Selection Sort (0) | 2022.07.19 |
AlgoExpert Cipher Encryptor (0) | 2022.07.19 |
AlgoExpert Run-Length Encoding (0) | 2022.07.19 |