原文:[LeetCode] 174. Dungeon Game 地牢游戏

The demons had captured the princess P and imprisoned her in the bottom right corner of a dungeon. The dungeon consists of M x N rooms laid out in a D grid. Our valiant knight K was initially positio ...

2015-01-19 09:40 6 14924 推荐指数:

查看详情

[LeetCode] Baseball Game 棒球游戏

You're now a baseball game point recorder. Given a list of strings, each string can be one of the 4 following types: Integer (one round's ...

Thu Oct 05 06:17:00 CST 2017 0 2731
[LeetCode] Zuma Game 祖玛游戏

Think about Zuma Game. You have a row of balls on the table, colored red(R), yellow(Y), blue(B), green(G), and white(W). You also have several ...

Tue Apr 25 08:01:00 CST 2017 0 6467
[LeetCode] 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 ...

Tue Oct 13 07:22:00 CST 2015 0 9460
LeetCode 289. Game of Life (生命游戏

According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John ...

Sat Sep 16 17:57:00 CST 2017 0 1817
[LeetCode] 1025. Divisor Game 除数游戏

Alice and Bob take turns playing a game, with Alice starting first. Initially, there is a number N on the chalkboard. On each player's turn ...

Thu Feb 11 22:31:00 CST 2021 0 377
[LeetCode] 289. Game of Life 生命游戏

According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician ...

Sun Oct 04 21:20:00 CST 2015 8 26628
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM