single-row-keyboard-precomputed-index-map

Status: IN

`calculate_time` builds a `{char: index}` dictionary from the keyboard string in O(26) time, enabling O(1) lookups per character instead of O(26) `str.index()` calls

Source: entries/2026/06/06/single-row-keyboard-solution.md

JSON