ParentFull threadbolanyo·If dictionary lookup is O(1), we could just make a dictionary of all the doubled words? Now the whole problem is O(1)!View on HN