码迷,mamicode.com
首页 >  
搜索关键字:diamond puzzle.    ( 1191个结果
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 there will be on...
分类:其他好文   时间:2014-07-16 21:52:48    阅读次数:177
无聊js画了个菱形
function repeat(str, count) { return count '; }; document.write(s);}diamond('A', 5);
分类:Web程序   时间:2014-07-11 23:17:14    阅读次数:213
CTCI 3.4
In the classic problem of the Towers of Hanoi, you have 3 towers and Ndisks of different sizes which can slide onto any tower.The puzzle starts with d...
分类:其他好文   时间:2014-07-11 09:45:26    阅读次数:254
POJ-3131-Cubic Eight-Puzzle(双向BFS+哈希)
Description Let’s play a puzzle using eight cubes placed on a 3 × 3 board leaving one empty square. Faces of cubes are painted with three colors. As a puzzle step, you can roll one of the cubes ...
分类:其他好文   时间:2014-07-08 16:27:42    阅读次数:220
Leetcode 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 there will be on...
分类:其他好文   时间:2014-07-08 00:47:33    阅读次数:199
[LeetCode] N-Queens
N-QueensTotal Accepted:9970Total Submissions:38919My SubmissionsThen-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no tw...
分类:其他好文   时间:2014-07-06 16:08:01    阅读次数:222
leetcode--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 there will be on...
分类:其他好文   时间:2014-07-06 16:07:23    阅读次数:204
leetcode--N-Queens
Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all distinc...
分类:其他好文   时间:2014-07-06 13:32:49    阅读次数:204
UVA 10129 Play on Words
题目如下: Play on Words Some of the secret doorscontain a very interesting word puzzle. The team of archaeologists has tosolve it to open that doors. Because there is no other way to open the doors,...
分类:其他好文   时间:2014-07-06 12:12:36    阅读次数:221
POJ 3131 Cubic Eight-Puzzle 双向BFS + HASH
超赞的一道搜索题,麻烦到没朋友,...
分类:其他好文   时间:2014-07-02 07:45:32    阅读次数:277
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!