{"id":"solutions-trust-leetcode-preconditions","text":"Solutions across this repo do not validate inputs against problem constraints — they trust the caller to satisfy LeetCode guarantees (non-empty arrays, valid ranges, majority existence). Invalid inputs produce silent wrong answers rather than exceptions.","truth_value":"IN","source":"entries/2026/06/06/majority-element-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":["no-validation-is-deliberate-contract"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"solutions-trust-leetcode-preconditions","truth_value":"IN","reason":"premise"}]}}