自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

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

原创 【LeetCode OJ 075】Sort Colors

题目链接:https://leetcode.com/problems/sort-colors/题目:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order r

2016-03-27 12:59:55 870

原创 剑指offer03:二维数组中的查找

/** * @Description 在一个二维数组中,每一行都从左到右递增的顺序,每一列都是按照从上到下递增的顺序,完成一个函数,判断数组中是否包含指定的数 * @author 徐剑 * @date 2016年3月19日 下午4:28:31 * @version V1.0 */public class FindTheNumber{ public static boolean

2016-03-19 16:34:27 486

原创 【LeetCode OJ 073】Set Matrix Zeroes

题目链接:https://leetcode.com/problems/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.Follow up:Did you use extra space?A str

2016-03-13 20:08:20 1070

原创 【LeetCode OJ 090】Subsets II

题目链接:https://leetcode.com/problems/subsets-ii/题目:Given a collection of integers that might contain duplicates, nums, return all possible subsets.Note:Elements in a subset must be in non-

2016-03-12 14:48:58 1032

原创 【LeetCode OJ 078】Subsets

题目链接:https://leetcode.com/problems/subsets/题目:Given a set of distinct integers, nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution s

2016-03-12 14:42:41 1111

原创 【LeetCode OJ 268】Missing Number

题目链接:https://leetcode.com/problems/missing-number/题目:Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.For example,Given 

2016-03-02 21:30:07 977

原创 【LeetCode OJ 328】Odd Even Linked List

题目链接:https://leetcode.com/problems/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 numbe

2016-03-02 17:09:53 1050

原创 【LeetCode OJ 061】Rotate List

题目链接:https://leetcode.com/problems/rotate-list/题目:Given a list, rotate the list to the right by k places, where k is non-negative.For example:Given 1->2->3->4->5->NULL and k = 2,return 4

2016-03-01 15:08:10 737

空空如也

空空如也

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

TA关注的人

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