3 ms·
Yup, I just checked. They're only using heap for most common. Nevertheless, defaultdict == win for counting things like if we actually wanted unique words in t
by lqdc13 11y ago
Yup, I just checked. They're only using heap for most common.
Nevertheless, defaultdict == win for counting things like if we actually wanted unique words in this case.