2018年2月25日
摘要: You are playing a simplified Pacman game. You start at the point (0, 0), and your destination is (target[0], target[1]). There are several ghosts on t 阅读全文
posted @ 2018-02-25 19:07 Beserious 阅读(403) 评论(0) 推荐(0) 编辑
摘要: S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per 阅读全文
posted @ 2018-02-25 19:06 Beserious 阅读(370) 评论(0) 推荐(0) 编辑
摘要: X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. A number is valid if each 阅读全文
posted @ 2018-02-25 19:05 Beserious 阅读(503) 评论(0) 推荐(0) 编辑
摘要: We have two types of tiles: a 2x1 domino shape, and an "L" tromino shape. These shapes may be rotated. XX 阅读全文
posted @ 2018-02-25 19:03 Beserious 阅读(809) 评论(0) 推荐(0) 编辑