{"id":"relative-sort-preserves-multiplicity","text":"The Counter-based reconstruction guarantees every element from `arr1` appears in the output exactly as many times as in the input; no loss or duplication is possible.","truth_value":"IN","source":"entries/2026/06/06/relative-sort-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"relative-sort-preserves-multiplicity","truth_value":"IN","reason":"premise"}]}}