摘要: Given a rope with positive integer-length n, how to cut the rope into m integer-length parts with length p[0], p[1], ...,p[m-1], in order to get the m 阅读全文
posted @ 2020-02-23 06:16 xuan_abc 阅读(288) 评论(0) 推荐(0)
摘要: Given an integer n, return all distinct solutions to the n-queens puzzle. Each solution contains a distinct board configuration of the n-queens' place 阅读全文
posted @ 2020-02-23 04:44 xuan_abc 阅读(105) 评论(0) 推荐(0)