Question
    Write a function to check if two strings are rotations of each other?
    
        
    
    
    
    
 
    Login to Submit
    
    
    
Examples
Input: "cat", "tca" Output: true Input: "cook", "okco" Output: true Input: "rat", "rta" Output: false