胡闹的日子
归档 分类 标签 系列 关于
归档 分类 标签 系列 关于
L
LeetCode
2016-08-03

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.

L
LeetCode
2016-08-03

LeetCode 141: Linked List Cycle

Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space?

L
LeetCode
2016-08-03

LeetCode 19: Remove Nth Node From End of List

Given a linked list, remove the nth node from the end of list and return its head. For example,Given linked list: 1->2->3->4->5, and n = 2.

L
LeetCode
2016-08-03

LeetCode 160: Intersection of Two Linked Lists

Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:

L
LeetCode
2016-08-02

LeetCode 203: Remove Linked List Elements

Remove all elements from a linked list of integers that have value val. Example Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6. Return: 1 --> 2 --> 3 --> 4 --> 5.

L
LeetCode
2016-08-02

LeetCode 371: Sum of Two integers

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example: Given a = 1 and b = 2, return 3.

L
LeetCode
2016-08-02

LeetCode 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.

L
LeetCode
2016-08-02

LeetCode 21: Merge Two Sorted Lists

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.

« 上一页1…56789…11下一页 »

xcc

Web Developer & Designer

GuangDong, China 关注我
86 文章
38 标签

标签

全部 51NOD Android Array Bit Manipulation Bit Manupulation Chrome C语言 Dynamic Programming GET Git HTTP KMP算法 LaTex LeetCode Linked List
优雅的Sublime
LeetCode题解
有趣的算法

最近文章

  • LeetCode 162: Find Peak Element

    LeetCode

  • LeetCode 48: Rotate Image

    LeetCode

  • LeetCode 53: Maximum Subarray

    LeetCode

  • LeetCode 35: Search Insert Position

    LeetCode

  • LeetCode 11: Container With Most Water

    LeetCode

链接

  • Hexo
  • 个人V2EX主页
© 2016 XCC
Powered by Hexo. Theme by xcc 本站总访问人数次