Search
⌘K

Leetcode 249. Group Shifted Strings

Group strings that are equivalent under a uniform alphabetical shift (e.g., "abc" → "bcd", with wrap-around) by identifying a shift-invariant signature for each string and grouping those with the same signature.

Asked at:

Meta

Google

Google


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid March, 2026

Meta

Mid-level

Mid March, 2026

Google

Google

Mid-level

Early March, 2026

Meta

Staff

Your account is free and you can post anonymously if you choose.