随笔分类 -  Leetcode

摘要:"486. Predict the Winner" Description Given an array of scores that are non negative integers. Player 1 picks one of the numbers from either end of th 阅读全文
posted @ 2018-07-31 23:34 吴汉卿 阅读(135) 评论(0) 推荐(0)
摘要:"464. Can I Win" Description In the "100 game," two players take turns adding, to a running total, any integer from 1..10. The player who first causes 阅读全文
posted @ 2018-07-31 23:21 吴汉卿 阅读(353) 评论(0) 推荐(0)
摘要:"292. Nim Game" Description 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 阅读全文
posted @ 2018-07-31 17:32 吴汉卿 阅读(118) 评论(0) 推荐(0)