{"id":"net-shift-collapse","text":"All individual shift operations are collapsed into a single net displacement before any string manipulation, making the solution O(n + k) rather than O(n * total_shift_amount).","truth_value":"IN","source":"entries/2026/06/06/perform-string-shifts-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"net-shift-collapse","truth_value":"IN","reason":"premise"}]}}