Pergunta de entrevista da empresa FactSet

Algorithms: To tell if a string A is rotation of another string B.