LeetCode MEDIUM 249 Group Shifted Strings Summary
Generated by Codex with GPT-5
Difficulty: MEDIUM
Problem: Group Shifted Strings
Problem gist
Each string can be shifted forward through the alphabet, wrapping from z to a. For example, shifting "abc" once gives "bcd", and shifting "az" once gives "ba". The task is to group strings that can become each other by applying the same shift amount to every character.