摘要:
dijkstra: floyd: prim: kruskal: 阅读全文
posted @ 2016-11-04 16:18
wxquare
阅读(324)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2016-11-04 16:13
wxquare
阅读(195)
评论(0)
推荐(0)
摘要:
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled wit 阅读全文
posted @ 2016-11-04 16:11
wxquare
阅读(183)
评论(0)
推荐(0)
摘要:
Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions. 阅读全文
posted @ 2016-11-04 16:09
wxquare
阅读(190)
评论(0)
推荐(0)
摘要:
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all 阅读全文
posted @ 2016-11-04 16:07
wxquare
阅读(257)
评论(0)
推荐(0)

浙公网安备 33010602011771号