Pergunta de entrevista da empresa A10 Networks

write two algorithm question. One is "rotate string (Leetcode #796)