博弈
文章平均质量分 78
jmspan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 292. Nim Game(取物游戏)
原题网址:https://leetcode.com/problems/nim-game/ 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 ston原创 2016-04-16 05:58:50 · 627 阅读 · 0 评论 -
LeetCode 293. Flip Game(反转游戏)
原题网址:https://leetcode.com/problems/flip-game/ 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原创 2016-04-16 06:11:22 · 1689 阅读 · 0 评论 -
LeetCode 294. Flip Game II(反转游戏II)
原题网址:https://leetcode.com/problems/flip-game-ii/ You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend t原创 2016-04-16 09:03:16 · 1096 阅读 · 0 评论 -
LeetCode 36. Valid Sudoku(数独游戏)
原题网址:https://leetcode.com/problems/valid-sudoku/ Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are fil原创 2016-05-20 10:38:02 · 754 阅读 · 0 评论 -
LeetCode 37. Sudoku Solver(数读游戏)
原题网址:https://leetcode.com/problems/sudoku-solver/ Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may assume that th原创 2016-05-20 10:40:25 · 487 阅读 · 0 评论 -
LeetCode 348. Design Tic-Tac-Toe(井字棋)
原题网址:https://leetcode.com/problems/design-tic-tac-toe/ Design a Tic-tac-toe game that is played between two players on a n x n grid. You may assume the following rules: A move is guaranteed原创 2016-05-18 09:30:28 · 4553 阅读 · 0 评论 -
LeetCode 130. Surrounded Regions(包围区域)
原题网址:https://leetcode.com/problems/surrounded-regions/ Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's i原创 2016-05-27 00:25:49 · 573 阅读 · 0 评论 -
LeetCode 375. Guess Number Higher or Lower II
原题网址:https://leetcode.com/problems/guess-number-higher-or-lower-ii/ We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Ev原创 2016-07-17 03:37:35 · 2751 阅读 · 0 评论
分享