{"id":"sentinel-return-values-match-leetcode-spec","text":"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`.","truth_value":"IN","source":"entries/2026/06/06/largest-positive-integer-that-exists-with-its-negative-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"sentinel-return-values-match-leetcode-spec","truth_value":"IN","reason":"premise"}]}}