solutions-trust-leetcode-input-contract

Status: IN

Solutions across the repo perform no input validation — they trust that inputs satisfy LeetCode's stated constraints. Invalid inputs (wrong types, empty when guaranteed non-empty, malformed strings) produce undefined behavior rather than meaningful errors.

Source: entries/2026/06/06/robot-return-to-origin-solution.md

JSON