![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Leetcode
植与恋恋
敲代码呀,加油敲代码啊
展开
-
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#includetypedef原创 2017-09-22 20:16:33 · 205 阅读 · 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 · 185 阅读 · 0 评论