摘要: 题目:You are playing the following Flip Game with your friend: Given a string that contains only these two characters:+and-, you and your friend take tu... 阅读全文
posted @ 2015-12-13 21:57 YRB 阅读(2701) 评论(0) 推荐(0) 编辑
摘要: 题目: You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend tak 阅读全文
posted @ 2015-12-13 07:58 YRB 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: 题目: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 阅读全文
posted @ 2015-12-13 07:36 YRB 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 题目:Given apatternand a stringstr, find ifstrfollows the same pattern.Herefollowmeans a full match, such that there is a bijection between a letter inp... 阅读全文
posted @ 2015-12-13 06:30 YRB 阅读(1259) 评论(0) 推荐(0) 编辑