![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
链表
文章平均质量分 73
韵影
这个作者很懒,什么都没留下…
展开
-
1052 Linked List Sorting (25 分)
1052 Linked List Sorting (25 分) A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integerkeyand aNextpointer to the next structure. Now given a linked list, you...转载 2021-05-16 09:59:27 · 56 阅读 · 0 评论 -
1032 Sharing (25 分)
1032 Sharing (25 分) To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same sublist if they share the same suffix. For example,loadingandbeingare stored as sh...原创 2021-05-16 00:33:26 · 75 阅读 · 0 评论 -
1133 Splitting A Linked List (25 分)
Given a singly linked list, you are supposed to rearrange its elements so that all the negative values appear before all of the non-negatives, and all the values in [0, K] appear before all those greater than K. The order of the elements inside each class原创 2021-05-16 00:32:00 · 65 阅读 · 0 评论