摘要: Crossing BridgeDescriptionN people wish to cross a bridge at night. It’s so dark around there that they have to cross the bridge under the help of a l... 阅读全文
posted @ 2015-07-14 21:06 Eason Liu 阅读(331) 评论(0) 推荐(0) 编辑
摘要: N-QueensThe 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, retu... 阅读全文
posted @ 2015-07-14 19:11 Eason Liu 阅读(333) 评论(0) 推荐(0) 编辑