The algorithm worked like this: Arrange typed letters in a set of tumblers with their neighboring letters. Spin the tumblers to check every letter combination. Note the dictionary words found by spinning the tumblers. Suggest the found word with the highest usage frequency value.