{"id":"leetcode-solutions-trust-input-contracts","text":"Across all solutions in the repo, functions perform no input validation and raise no exceptions — they trust callers to satisfy LeetCode problem constraints. Invalid inputs (empty arrays, wrong types, violated invariants) produce silent wrong results or unguarded crashes.","truth_value":"IN","source":"entries/2026/06/06/element-appearing-more-than-25-in-sorted-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"leetcode-solutions-trust-input-contracts","truth_value":"IN","reason":"premise"}]}}