Test for String Rotations
Given two Strings s1 and s2 test to see if one is a rotation of the other without using any additional space.
The key idea is to iterate over s1 and look for matches of s2, but match characters in s2 with characters of s1 modulo s1.length.
Source Code









