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

LeetCode 344: Reverse String

Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh".

L
LeetCode
2016-08-05

LeetCode 2: Add Two Numbers

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit.

L
LeetCode
2016-08-05

LeetCode 147: Insertion Sort List

Sort a linked list using insertion sort.

L
LeetCode
2016-08-05

LeetCode 86: Partition List

Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.

L
LeetCode
2016-08-05

LeetCode 350: Intersection of Two Arrays II

Given two arrays, write a function to compute their intersection. Example: Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, 2].

L
LeetCode
2016-08-04

LeetCode 328: Odd Even Linked List

Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes.

L
LeetCode
2016-08-04

LeetCode 142: Linked List Cycle II

Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked list. Follow up: Can you solve it without using extra space?

L
LeetCode
2016-08-03

LeetCode 234: Palindrome Linked List

Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space?

« 上一页1…45678…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 本站总访问人数次