自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(239)
  • 收藏
  • 关注

原创 Leetcode 71. Simplify Path

simplify path

2017-11-24 20:21:40 135

原创 Leetcode 70. Climbing Stairs

climbing stairs

2017-11-22 20:29:37 95

原创 Leetcode 69 Sqrt(x)

sqrt

2017-11-21 22:07:22 115

原创 Leetcode 65.valid number

参考后class Solution {public: bool isNumber(string s) { size_t n = s.size(); size_t i = 0; int nnum = 0; int npoint = 0; while (isspace(s[i])) ++i

2017-11-17 22:35:11 141

原创 Leetcode 67. Add Binary

add binary

2017-11-17 22:04:56 103

原创 Leetcode 66. plus one

plus one

2017-11-17 20:30:50 116

原创 function_bind_lambda

function_bind_lambda

2017-11-15 11:19:41 143

原创 树状数组

树状数组

2017-11-15 11:16:16 122

原创 union_find(并查集)

并查集

2017-11-15 11:13:56 266

原创 64. Minimum Path Sum

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.Note: You can only move either down or right at any

2017-11-14 22:08:54 116

原创 Effective C++ 52. Write placement delete if you write placement new

write placement delete if you write placement new

2017-11-14 09:33:45 149

原创 Leetcode 63. Unique Paths II

Follow up for “Unique Paths”:Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the grid.For ex

2017-11-13 21:55:51 105

原创 Effective C++ 45. Use member function templates to accept "all compatible types."

use member function templates to accept "all compatible types."

2017-11-13 11:18:40 143

原创 Effective C++ 44. Factor parameter-independent code out of templates

factor parameter-independent code out of templates

2017-11-13 10:22:54 236

原创 Leetcode 62. Unique Paths

unique paths

2017-11-12 20:53:13 129

原创 Leetcode 61. Rotate List

rotate list

2017-11-11 21:50:10 122

原创 Effective C++ 49. Understand the behavior of the new-handler

understand the behavior of the new-handler

2017-11-11 21:49:01 127

原创 Leetcode 59. Spiral Matrix II

spiral Matrix

2017-11-09 20:43:37 118

原创 Effective C++ 46. Define non-member functions inside templates when type conversions are desired

Define non-member functions inside templates when type conversions are desired

2017-11-09 11:29:08 159

原创 Leetcode 57. Insert Interval

insert interval

2017-11-08 22:23:34 124

原创 Leetcode 56. Merge Intervals

merge intervals

2017-11-03 20:56:29 144

原创 Effective C++ 38. Model "has-a or is-implemented-in-terms-of" through composition

Model "has-a or is-implemented-in-terms-of" through composition

2017-11-03 11:27:31 198

原创 Effective C++ 37. Never redefine a function's inherited default parameter value

never redefine a function's inheried default parameter value

2017-11-03 10:42:48 494

原创 Leetcode 55. Jump Game

jump game

2017-11-02 21:03:34 126

原创 Leetcode 54. Spiral Matrix

spiral matrix

2017-11-02 21:01:08 128

原创 *Effective C++ 31. Minimize complilation dependencies between files(handle class & interface class)

handle class & interface class

2017-10-31 09:57:00 248

原创 Leetcode 51 N-Queens

The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.Given an integer n, return all distinct solutions to the n-queens puzzle.Each

2017-10-30 21:45:32 169

原创 Leecode 53 Maximum Subarray

maximum subarray

2017-10-30 10:48:17 282

原创 Leetcode 50. Pow(x, n)

pow(x, y)

2017-10-30 10:45:19 232

原创 Effective C++ 25. Consider support for a non-throwing swap

consider support for a non-throwing swap

2017-10-28 10:36:16 201

原创 Leetcode 49 Group Anagrams

group anagrams

2017-10-27 22:07:20 141

原创 Effecitive C++ 28. Avoid returning "handle" to object internals

avoid returning "handle" to object inernals

2017-10-27 19:26:29 171

原创 Effective C++ 27. Minimize casting

avoid dynamic_cast

2017-10-27 16:01:36 167

原创 Effective C++ 23. Prefer non-member non-friend functions to member functions

prefer non-memer non-friend functions to member functions

2017-10-27 10:00:19 185

原创 leetcode 48. Rotate Image

Rotate image

2017-10-26 22:04:30 129

原创 Effective C++ 19. type conversions

type conversion

2017-10-26 17:12:36 153

原创 Effective C++ 18. Make interfaces easy to use correctly and hard to use incorrectly

Make interfaces easy to use correctly and hard to use incorrectly

2017-10-26 16:41:19 200

原创 Effective C++ 17. Store newed objects in smart pointers in standalone statements

store newed objects in smart pointers in standalone statements.

2017-10-26 15:26:08 162

原创 Effective C++ 14. Think carefully about copying behavior in resource-managing classes

Think carefully about copying behavior in resource-managing classes

2017-10-26 11:06:20 207

原创 Effective C++ 12. Copy all parts of an object

copy all parts of an object

2017-10-26 09:52:58 218

空空如也

空空如也

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

TA关注的人

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