Determine String Rotation in Computer Science

# Introduction In computer science, string rotation is a process of moving the characters in a string to the left or right. A string rotation of another string is a process of taking a string and moving its characters in a circular fashion. For example, the string "abcde" can be rotated to form the string "cdeab". In this challenge, we are going to determine if a string s1 is a rotation of another string s2.

|
60 : 00

Click the virtual machine below to start practicing