![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C+
_syntax_error_
这个作者很懒,什么都没留下…
展开
-
[LeetCode]18. 4Sum(自学留存)
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.Note: The solution set m...原创 2018-03-15 12:24:57 · 199 阅读 · 0 评论 -
24. Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2->3->4, you should return the list as 2->1->4->3.Your algorithm should use only constant ...原创 2018-03-24 08:51:59 · 165 阅读 · 0 评论