{"id":"long-press-time-complexity","text":"`isLongPressedName` runs in O(len(typed)) time with O(1) extra space since pointer `i` only moves forward and the loop visits each `typed` character exactly once","truth_value":"IN","source":"entries/2026/06/06/long-pressed-name-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"long-press-time-complexity","truth_value":"IN","reason":"premise"}]}}