Closed GUOWEICAIUS closed 2 years ago
https://github.com/kamyu104/LeetCode-Solutions/blob/5ef49a494bcf7ee966f03a647dfb75a39900df9e/Python/design-search-autocomplete-system.py#L29
No, times is the latest value instead of delta value.
times
Thanks. That's correct because we are recording the time of s, not the prefix to the current Trie node (which would be accumulated value then).
https://github.com/kamyu104/LeetCode-Solutions/blob/5ef49a494bcf7ee966f03a647dfb75a39900df9e/Python/design-search-autocomplete-system.py#L29