{"id":"rotate-string-doubling-trick","text":"`can_transform` checks rotation equivalence via `goal in s + s` — concatenating `s` with itself produces a string containing every rotation of `s` as a substring, reducing the problem to a single substring search.","truth_value":"IN","source":"entries/2026/06/06/rotate-string-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"rotate-string-doubling-trick","truth_value":"IN","reason":"premise"}]}}