摘要: You have a list of words and a pattern, and you want to know which words in words matches the pattern. A word matches the pattern if there exists a pe 阅读全文
posted @ 2019-08-15 15:40 fatttcat 阅读(133) 评论(0) 推荐(0) 编辑
摘要: To some string S, we will perform some replacement operations that replace groups of letters with new ones (not necessarily the same size). Each repla 阅读全文
posted @ 2019-08-15 15:16 fatttcat 阅读(163) 评论(0) 推荐(0) 编辑
摘要: We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, 阅读全文
posted @ 2019-08-15 07:11 fatttcat 阅读(134) 评论(0) 推荐(0) 编辑