sort-string-constant-space

Status: IN

The count array is always exactly 26 elements regardless of input size; auxiliary space is O(1) beyond the output.

Source: entries/2026/06/06/increasing-decreasing-string-solution.md

JSON