摘要: 题目描述: 把字符串 s 看作是“abcdefghijklmnopqrstuvwxyz”的无限环绕字符串,所以 s 看起来是这样的:"...zabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd....". 现在我们有了另一个字符串 p 。 阅读全文
posted @ 2019-05-02 21:07 彩虹色 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 题目描述: 给定一个链表,旋转链表,将链表每个节点向右移动 k 个位置,其中 k 是非负数。 示例 1: 示例 2: 阅读全文
posted @ 2019-05-02 17:48 彩虹色 阅读(79) 评论(0) 推荐(0) 编辑
摘要: Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black til 阅读全文
posted @ 2019-05-02 16:15 彩虹色 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Problem Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, an 阅读全文
posted @ 2019-05-02 16:07 彩虹色 阅读(149) 评论(0) 推荐(0) 编辑