String Rotation Of Each Other Leetcode Solutions With Explanation