{"id":"parity-ii-swap-correctness","text":"A swap only occurs when `nums[i]` is odd and `nums[j]` is even, guaranteeing both positions are fixed simultaneously.","truth_value":"IN","source":"entries/2026/06/06/sort-array-by-parity-ii-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"parity-ii-swap-correctness","truth_value":"IN","reason":"premise"}]}}