The method: Given a string of, say, length 8, form all 8 rotations of it, and then sort them lexicographically. Then form the 8 letter...
Posted by Beetle B. on Sun 07 December 2014