lcp-first-element-pivot

Status: IN

`longest_common_prefix` uses `strs[0]` as the reference string and checks all remaining strings against it, avoiding an upfront `min(len(s))` computation

Source: entries/2026/06/06/longest-common-prefix-solution.md

JSON