String Rotation Of Each Other Leetcode Contest Predictor Criterion