{"id":"maxpower-empty-string-bug","text":"`maxPower` returns 1 for an empty string (loop is skipped, `max_count` stays at its initial value of 1) rather than 0 or raising — safe only because LeetCode guarantees `len(s) >= 1`.","truth_value":"IN","source":"entries/2026/06/06/consecutive-characters-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"maxpower-empty-string-bug","truth_value":"IN","reason":"premise"}]}}