Problem 249 · Medium

Group Shifted Strings

Group strings by their shift pattern (difference between consecutive chars).

Open the interactive visualisation