摘要:
Pascal's TriangleGivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,... 阅读全文
posted @ 2014-10-12 22:07
陆草纯
阅读(3704)
评论(0)
推荐(1)
摘要:
N-QueensThen-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all... 阅读全文
posted @ 2014-10-12 13:56
陆草纯
阅读(1558)
评论(0)
推荐(0)
浙公网安备 33010602011771号