Inserts a list of words into the Trie :param words: list of string words :return: None
(self, words: [str])
| 13 | self.is_leaf = False |
| 14 | |
| 15 | def insert_many(self, words: [str]): # noqa: E999 This syntax is Python 3 only |
| 16 | """ |
| 17 | Inserts a list of words into the Trie |
| 18 | :param words: list of string words |
| 19 | :return: None |
| 20 | """ |
| 21 | for word in words: |
| 22 | self.insert(word) |
| 23 | |
| 24 | def insert(self, word: str): # noqa: E999 This syntax is Python 3 only |
| 25 | """ |