自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 [leetcode]Permutations

Given a collection of numbers, return all possible permutations.For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], and [3,2,1].全排列问题,本题不考虑重复

2014-04-02 10:49:11 263

原创 [leetcode]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 array represents your maximum jump length at that position.Your goal i

2014-03-31 10:54:24 280

原创 [leetcode]Rain Water

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.For example, Given [0,1,0,2,1,0,1,3,2,1,2,1]

2014-03-06 10:49:46 329

原创 [leetcode]First Missing Positive

Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm should run in O(n) time and uses constant spa

2014-03-05 11:11:33 382

原创 [leetcode]Count and Say

The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or11.11 is read off as "two 1s" or 21.21 is read off as "on

2014-02-28 10:13:20 367

原创 [leetcode]Sudoku Solver

Sudoku Solver Total Accepted: 4129 Total Submissions: 20589My SubmissionsWrite a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character

2014-02-27 09:45:29 497

原创 [leetcode]Valid Sudoku

Valid Sudoku Total Accepted: 4716 Total Submissions: 17442My SubmissionsDetermine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially f

2014-02-25 11:01:12 454

原创 [leetcode]Search Insert Position

用二分查找的思想注意最后返回的left right 会出错class Solution {public: int searchInsert(int A[], int n, int target) { int left=0; int right=n-1; while(left<=right){ int mid=

2014-02-24 10:14:56 394

原创 [leetcode] Search for a Range

Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the order of O(log n).If the target is not found

2014-02-21 10:15:27 328

dash for mac 2.1.2 破解版

dash 2.1.2破解版 ac下有不少朋友是做开发的. 这里给 做开发 的朋友推荐一款Mac下的软件Dash,这款软件可以查询你所需要的多种API

2014-07-11

模仿拉手团购

自己根据搜索网上很多教程,开发的IOS程序 可以分为 检测 摇一摇 定位服务 绘制Grid 调用地图 拨打电话 添加Anntion按钮的等

2013-06-21

实验室设备管理系统 asp.net MVC

实验室设备管理系统 asp.net MVC

2012-05-19

空空如也

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

TA关注的人

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