{"id":"transpose-empty-input-raises","text":"`transpose([])` raises `IndexError` because the code unconditionally accesses `matrix[0]` to determine the column count; this is safe under LeetCode's constraint `m >= 1`.","truth_value":"IN","source":"entries/2026/06/06/transpose-matrix-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"transpose-empty-input-raises","truth_value":"IN","reason":"premise"}]}}