《CITI》P116
1 数组与字符串
题目:
1.8 Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, si and s2, write code to check Ifs2 is a rotation of si using only onecalltoisSubstring (e.g., “waterbottLe” is a rotation of “erbottLewat”).