最新 最热

Shader初学笔记:vertex/fragment渲染过程

#pragma vertex vert //对应下面的vert函数,得到转换坐标系后的顶点信息

2018-03-25
1

Combination Sum 组合数求和-Leetcode

原题:Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeated num...

2018-03-19
1

Combination Sum II 组合数求和之2-Leetcode

原题:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each number in...

2018-03-19
1

No.001 Two Sum

Two SumTotal Accepted: 262258Total Submissions: 1048169Difficulty: EasyGiven an array of integers, return indices of the two numbers such that they add up t...

2018-02-27
0

Leetcode 16 3Sum Closest

Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may ...

2018-01-12
0

Leercode 35 Search Insert Position

Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You...

2018-01-12
1

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

2018-01-12
1

Leetcode 33 Search in Rotated Sorted Array 二分查找变式

Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target value to...

2018-01-12
1

Leetcode 40 Combination Sum II

Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in ...

2018-01-12
1

Leetcode 39 Combination Sum

Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated numb...

2018-01-12
1