Objective: Write an algorithm to check if one string is Rotation of another string. This question has been asked in the Amazon interview.
Input Strings : 'sumitjain' and 'tjainsumi' Output : true Input String : 'Jaain' and 'ainJ' Output: false
Input: Two Strings
Output: True or false based on whether strings are rotation of each other.