
Leetcode
文章平均质量分 67
植与恋恋
敲代码呀,加油敲代码啊
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
83. Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3. #include #include typedef原创 2017-09-22 20:16:33 · 262 阅读 · 0 评论 -
Merge Two Sorted
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.#include #include #include typedef int ElemType; typedef原创 2017-09-21 16:57:14 · 245 阅读 · 0 评论