自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

原创 [LeetCode] Jump Game II

Jump Game II Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the arr...

2015-06-25 20:33:05 781 0

原创 [LeetCode] Wildcard Matching

Wildcard Matching Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single charac...

2015-06-25 14:51:16 901 0

原创 [LeetCode] Regular Expression Matching

Regular Expression Matching   Implement regular expression matching with support for '.' and '*'. '.' Matches an...

2015-06-24 18:57:45 777 0

原创 [LeetCode] Search a 2D Matrix

Search a 2D Matrix Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: I...

2015-06-23 17:31:32 613 0

原创 [LeetCode] Basic Calculator II

Basic Calculator II Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integ...

2015-06-22 14:12:25 1524 0

原创 [LeetCode] Single Number II

Single Number II   Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm...

2015-06-19 14:05:22 779 0

原创 [LeetCode] Single Number

Single Number Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a...

2015-06-18 15:21:17 550 0

原创 [LeetCode] Path Sum II

Path Sum II   Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given ...

2015-06-18 15:06:01 566 0

原创 [LeetCode] Rotate List

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...

2015-06-18 14:41:26 667 0

原创 [LeetCode] Contains Duplicate III

Contains Duplicate III Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference be...

2015-06-17 19:49:25 1546 0

原创 [LeetCode] Word Break

Word Break Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dicti...

2015-06-17 17:21:39 703 0

原创 [LeetCode] Count Complete Tree Nodes

Count Complete Tree Nodes   Given a complete binary tree, count the number of nodes. Definition of a complete binary tree from Wikipedia: I...

2015-06-16 18:18:02 1792 0

原创 [LeetCode] Rectangle Area

Rectangle Area Find the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is defined by its bottom left corner a...

2015-06-16 17:06:37 1744 0

原创 Win Phone 8.1 模拟器联网

环境:windows 8 server版本,vs2013 状况:模拟器不能联网,而宿主主机联网正常。 解决办法: (1)打开Hyper-V Manager,找到自己的模拟器(我们用服务器多用户开发,找到自身的那个即可)。 (2)右键-》设置,在弹出的框中,添加一些虚拟网卡。一般默认...

2015-06-16 11:32:57 708 0

原创 [LeetCode] Basic Calculator

Basic Calculator Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing pa...

2015-06-15 15:32:13 1450 0

原创 [LeetCode] Implement Stack using Queues

Implement Stack using Queues Implement the following operations of a stack using queues. push(x) -- Push element x onto stack.pop() -- Remove...

2015-06-14 18:19:35 1228 0

原创 [LeetCode] Invert Binary Tree

Invert Binary Tree Invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6 9 to 4 / \ 7 2 / \ / \ 9 6 3 1...

2015-06-14 17:48:02 814 0

原创 [LeetCode] Linked List Cycle II

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 solv...

2015-06-02 09:52:39 563 0

原创 [LeetCode] Linked List Cycle

Linked List Cycle   Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 解题思路: ...

2015-06-01 23:35:21 601 0

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