登录
  • #刷题
  • #careercup

【第三轮】8.3-8.9 CareerCup 9.9

林微熙
1070
4
9.9 Write an algorithm to prim all ways of arranging eight queens on an 8x8 chess board so that none of them share the same row, column or diagonal. In this case,

"diagonal" means all diagonals, not just the two that bisect the board.

回复解法可以按照以下格式来

[indent][indent]【解题思路】

【时间复杂度】

【空间复杂度】

【gist link】

---------------OPTional,如果觉得test case比较好,欢迎写出来分享----------------------

【test case】[/indent]
[/indent]
4条回复
热度排序

发表回复