sentinel-return-values-match-leetcode-spec

Status: IN

Solutions use problem-specific sentinel values for "no answer" cases (`0` for largest-perimeter-triangle, `-1` for find_K and maxLengthBetweenEqualCharacters) matching each problem's LeetCode specification rather than using Python idioms like `None`.

Source: entries/2026/06/06/largest-positive-integer-that-exists-with-its-negative-solution.md

JSON