上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 23 下一页
摘要: According to Wikipedia: Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insert 阅读全文
posted @ 2021-03-11 18:16 XA科研 阅读(59) 评论(0) 推荐(0) 编辑
摘要: According to Wikipedia: Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insert 阅读全文
posted @ 2021-03-11 18:07 XA科研 阅读(56) 评论(0) 推荐(0) 编辑
摘要: If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen silver 阅读全文
posted @ 2021-03-11 17:19 XA科研 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each va 阅读全文
posted @ 2021-03-11 17:02 XA科研 阅读(54) 评论(0) 推荐(0) 编辑
摘要: Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, 阅读全文
posted @ 2021-03-11 15:58 XA科研 阅读(56) 评论(0) 推荐(0) 编辑
摘要: A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key  阅读全文
posted @ 2021-03-11 15:55 XA科研 阅读(56) 评论(0) 推荐(0) 编辑
摘要: In July 2004, Google posted on a giant billboard along Highway 101 in Silicon Valley (shown in the picture below) for recruitment. The content is supe 阅读全文
posted @ 2021-03-10 23:03 XA科研 阅读(66) 评论(0) 推荐(0) 编辑
摘要: A proper vertex coloring is a labeling of the graph's vertices with colors such that no two vertices sharing the same edge have the same color. A colo 阅读全文
posted @ 2021-03-10 22:28 XA科研 阅读(64) 评论(0) 推荐(0) 编辑
摘要: When the input is much too large to fit into memory, we have to do external sorting instead of internal sorting. One of the key steps in external sort 阅读全文
posted @ 2021-03-10 00:25 XA科研 阅读(294) 评论(0) 推荐(0) 编辑
摘要: A safari park(野生动物园)has K species of animals, and is divided into N regions. The managers hope to spread the animals to all the regions, but not the s 阅读全文
posted @ 2021-03-09 23:08 XA科研 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 23 下一页