DIY: Group Shifted Strings
Explore how to implement a function in Elixir to group strings that are shifted versions of one another. Understand the problem of identifying such grouped strings and develop the algorithm to solve it, using examples to guide the coding process.
We'll cover the following...
We'll cover the following...
Problem statement
Given a list of strings (lowercase alphabets), we have to group all strings that are shifted versions of each other. For a string abc, its shifted sequence can be lmn ...