例如:给定s1 = AABCD和s2 = BCDAA,返回1,给定s1 = abcd和s2 = ACBD,返回0.
AABCD左旋一个字符得到ABCDA
AABCD左旋两个字符得到BCDAA
AABCD右旋一个字符得到DAABC
1 #include<stdio.h>
2 #include<string.h>
3
4 void Left_rotate(char* start, char* end)
5 {
6 //ABCD
7 //BACD
8 while (*end != '