摘要: In a string S of lowercase letters, these letters form consecutive groups of the same character. For example, a string like S = "abbxxxxzyy" has the g 阅读全文
posted @ 2018-05-06 11:48 皇家大鹏鹏 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 821. Shortest Distance to a Character 821. Shortest Distance to a Character Given a string S and a character C, return an array of integers representi 阅读全文
posted @ 2018-05-06 11:37 皇家大鹏鹏 阅读(286) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/ybhjx/article/details/51788396 https://blog.csdn.net/u012273328/article/details/51173111 阅读全文
posted @ 2018-05-06 09:57 皇家大鹏鹏 阅读(84) 评论(0) 推荐(0) 编辑