摘要: 旋转字符串。题意是给两个字符串A和B,请判断B是否是经由A旋转过若干次而得到的。例子, Example 1: Input: A = 'abcde', B = 'cdeab' Output: true Example 2: Input: A = 'abcde', B = 'abced' Output: 阅读全文
posted @ 2020-03-09 14:39 CNoodle 阅读(272) 评论(0) 推荐(0)