忠奸人

忠奸人

    • Home
    • Archives
    • About

Reverse Nodes in k-Group

Reverse Nodes in k-Group题目Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of

2015-06-16

Reverse Linked List II

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-&g

2015-06-16

Reverse Linked List

Reverse Linked List题目Reverse a singly linked list. Hint: A linked list can be reversed either iteratively or recursively. Could you implemen

2015-06-16

Swap Nodes in pairs

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 shou

2015-06-16

Merge Two Sorted Lists

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 node

2015-06-16

Remove Nth Node From End of List

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 link

2015-06-16

Add Two Numbers

Add Two Number题目You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of the

2015-06-16

我开通博客啦

2015-06-15
Prev1…456

分类

  • leetcode57

标签

  • leetcode,tree28
  • leetcode,linkList20
  • leetcode,stack7
  • leetcode1
  • leetcode,dfs1

友情链接

  • 码农圈
  • Jark's Blog
  • 劝儒乡
RSS 订阅

新浪微博

生命不息,战斗不止!!!
This is my blog,believe it or not.

Powered by hexo and Theme by Jacman © 2015 yzbachelor