{"id":"scatter-write-for-permutation-rearrangement","text":"The shuffle-string solution uses a scatter-write pattern (pre-allocate result array, write each element directly to its target index) for O(n) permutation-based rearrangement, rather than sorting or in-place mutation.","truth_value":"IN","source":"entries/2026/06/06/shuffle-string-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"scatter-write-for-permutation-rearrangement","truth_value":"IN","reason":"premise"}]}}