{"id":"sort-sentence-positional-scatter","text":"`sort_sentence` uses positional scatter (pre-allocate array, place each word at its encoded index in one pass) instead of comparison sort, achieving O(n) time — the same pattern appears in `shuffle-string/solution.py`.","truth_value":"IN","source":"entries/2026/06/06/sorting-the-sentence-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"sort-sentence-positional-scatter","truth_value":"IN","reason":"premise"}]}}