自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

爱胡椒的小白兔呢

其实我写起码来超酷哒 哈哈哈 逃^_^

  • 博客(10)
  • 收藏
  • 关注

原创 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. Your algorithm should use

2016-10-31 19:26:01 248

原创 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. Subscribe to see which companies

2016-10-25 15:26:25 360

原创 Leetcode刷题记——20. Valid Parentheses (有效的括号即括号匹配)

一、题目叙述: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" an

2016-10-25 13:17:25 458

原创 Leetcode刷题记——19. Remove Nth Node From End of List(删除链表倒数第N项)

一、题目叙述: 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. After removing the second nod

2016-10-24 19:02:20 206

原创 Leetcode刷题记——14. Longest Common Prefix(最长公共前缀)

一、题目叙述: Write a function to find the longest common prefix string amongst an array of strings. Subscribe to see which companies asked this question 二、解题思路: 非常

2016-10-17 17:09:06 399

原创 Leetcode刷题记——11. Container With Most Water(装最多水的容器)

一、题目叙述: 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 two endpoints of line i 

2016-10-17 14:53:32 800

原创 Leetcode刷题记——12. Integer to Roman(阿拉伯数字转罗马数字)

一、题目叙述: Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. Subscribe to see which companies asked this question

2016-10-16 15:39:13 465

原创 Leetcode刷题记——13. Roman to Integer(罗马数字转换阿拉伯数字)

一、题目叙述: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. Subscribe to see which companies asked this question 二

2016-10-13 23:18:58 369

原创 Leetcode刷题记——9. Palindrome Number(回文数字)

一、题目叙述: Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? (ie, -1) If you ar

2016-10-09 17:52:25 433

原创 Leetcode刷题记——8. String to Integer (atoi)(字符串转整数)

一、题目叙述: mplement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the

2016-10-08 20:06:40 363

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除