
Leecode
文章平均质量分 80
初级Coding
这个作者很懒,什么都没留下…
展开
-
Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note: Given m, n satisfy t原创 2017-05-05 22:50:30 · 125 阅读 · 0 评论 -
Container With Most Water
参考:https://yq.aliyun.com/articles/889 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the tw原创 2017-05-10 10:21:05 · 136 阅读 · 0 评论