自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 资源 (3)
  • 收藏
  • 关注

原创 [LeetCode]Linked List Cycle II

题目描述 Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 给定一个链表,返回圆环开始的节点。如果没有圆环,则返回nul

2014-05-30 17:07:50 573

原创 [LeetCode]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

2014-05-29 17:55:09 622

原创 [LeetCode]Partition List

题目分析 jieti

2014-05-29 15:01:52 625

原创 [LeetCode]Climbing Stairs

题目描述 You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 解题思路

2014-05-28 16:38:20 565

原创 [LeetCode]Rotate List

题目描述

2014-05-27 14:01:22 358

原创 [剑指offer]按层打印二叉树

题目描述 按层打印 解题思路 代码

2014-05-27 12:16:41 930

原创 [剑指Offer]二叉树的镜像

题目描述 输入一个二叉树,输出它的镜像。 解题思路 代码

2014-05-26 15:28:47 512

原创 [剑指Offer]链表中的倒数第k个节点

题目描述 ru 解题思路 代码

2014-05-24 21:53:23 455

原创 [LeetCode]Longest Consecutive Sequence

题目描述 解题思路 代码

2014-05-23 11:06:39 421

原创 [LeetCode]Triangle

题目描述 解题思路

2014-05-21 16:45:14 402

原创 [LeetCode]Pascal's Triangle II

题目描述 解题思路 代码

2014-05-21 14:12:43 512

原创 [剑指Offer]打印1到最大的n位数

题目描述 输入数字n,按shu 解题思路 代码

2014-05-20 12:09:16 491

原创 [剑指Offer]二进制中1的个数

题目描述

2014-05-19 16:40:11 418

原创 各类排序算法的Java实现

/** * 冒泡排序,效率 O(n2),稳定的排序 */ public static int[] BubbleSort(int[] A) { int temp; if (A.length <= 1) return A; for (int i = A.length - 1; i > 0; i--) { for (int j = 0; j < i; j++) {

2014-05-18 11:42:31 541

原创 [剑指Offer]替换空格及其拓展

题目描述 解题思路 d

2014-05-14 14:42:47 514

原创 [剑指Offer]二维数组中的查找

题目描述 在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序,请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否有该整数。 解题思路 代码

2014-05-13 10:40:16 433

原创 [LeetCode]Set Matrix Zeroes

题目描述 Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up: Did you use extra space? A straight forward solution

2014-05-12 14:56:56 550

原创 [LeetCode]Search in Rotated Sorted Array II

题目描述 解题思路 d

2014-05-08 13:00:59 515

原创 [LeetCode]Search in Rotated Sorted Array

题目分析 jietis

2014-05-08 11:02:50 604

原创 [LeetCode]Remove Duplicates from Sorted Array II

题目描述 jie

2014-05-07 14:57:37 518

原创 [LeetCode]Remove Duplicates from Sorted List II

题目描述

2014-05-06 14:28:03 640

原创 [LeetCode]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. 给定一个已排序的链表,去除其中

2014-05-06 11:14:38 412

原创 [LeetCode]Remove Duplicates from Sorted Array

题目描述 解题思路 代码

2014-05-06 10:34:38 525

原创 [LeetCode]Sum Root to Leaf Numbers

题目描述 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. F

2014-05-03 20:55:41 527

50_android_hacks

《打造高质量Android应用:Android开发必知的50个诀窍》英文原版

2014-06-12

Android学习之SlidingMenu实现(向右滑动)

Android学习之SlidingMenu实现(向右滑动) 博文:http://blog.csdn.net/cjllife/article/details/8750660

2013-04-02

空空如也

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

TA关注的人

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