constant-space-lowercase-constraint

Status: IN

The first-unique-character solution is O(1) space because the problem constrains input to lowercase English letters, capping the Counter at 26 keys regardless of string length.

Source: entries/2026/06/06/first-unique-character-in-a-string-solution.md

JSON