自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Effective STL 27 convert a container's con_iterators to iterators

Use distance and advance to convert a container's const_iterators to iterators.

2017-08-31 20:44:47 167

原创 Effective STL 6 Vexing parse

vexing parse

2017-08-31 20:35:28 205

原创 Accelerated C++ 5 Using sequential containers and analyzing strings

Using sequential containers and analyzing strings

2017-08-31 15:37:34 175

原创 Accelerated C++ 4 organizing programs and data

origanizing programs and data

2017-08-31 13:05:48 216

原创 Accelerated C++ 3 working with batches of data

working with batches of data

2017-08-31 12:28:09 195

原创 leetcode 24 swapPairs

swapPairs

2017-08-30 22:38:26 261

原创 leetcode 23 Merge k Sorted Lists

Merge k sorted linked lists

2017-08-30 09:39:40 181

原创 Effective STL 24 Choose carefully between map::operator[] and map::insert

choose between map::operator[] and map::insert.

2017-08-29 17:13:59 234

原创 Effective STL 23 Consider replacing associative container with sorted vector

replacing associative container with sorted vector

2017-08-29 10:30:15 434

原创 leetcode 21 mergeTowLists

Merge two lists

2017-08-29 09:38:20 226

原创 Effective STL 22 Avoid in-place key modification in set and multiset

avoid in-place key modification in set and multiset

2017-08-28 16:33:42 216

原创 Effective STL 21 Always have comparison functions return false for equal values

always have comparison functions return false for equal values

2017-08-28 12:00:40 157

原创 Effective STL 20 Specify comparison types for associative containers of pointers

Specify comparison types for associative containers of pointers

2017-08-28 11:11:22 292

原创 leetcode 20 parenthesis match

parenthesis match

2017-08-27 21:41:02 231

原创 Effective STL 19 understand the difference between equality and equivalence

difference between equality and equivalence

2017-08-27 18:48:07 278

原创 Effective STL 18 avoid using vector<bool>

avoid using vector<bool>

2017-08-27 16:38:41 254

原创 Effective STL 16 pass vector and string data to legacy APIs

pass vector and string data to legacy APIs

2017-08-26 21:59:34 136

原创 Effective STL 17 Use "the swap trick" to trim excess capacity

use "the swap trick" to trim excess capacity

2017-08-26 21:50:13 227

原创 leetcode 19 removeNthFromEnd

removeNthFromEnd

2017-08-26 20:27:19 259

原创 leetcode 18 4Sum

4Sum

2017-08-26 17:35:12 157

原创 leetcode 16 threeSumClosest

threeSumCloseset

2017-08-25 09:25:08 266

原创 leetcode 15 threeSum

threeSum

2017-08-22 11:36:15 188

原创 leetcode-14 commonPrefix

common prefix

2017-08-20 20:53:00 188

原创 Sleep sort

sleep sort#!/bin/bashfunction f() { sleep "$1" echo "$1" }# -n "$1" 第一个参数非空when [ -n "$1" ] do # 后加 &amp; 退出shell 后运行的命令继续执行 f "$1" &amp; # 删除一个参数,即待排数 shiftd

2017-08-18 20:01:45 230

原创 leetcode 13

romanToInt

2017-08-18 18:30:46 197

原创 leetcode 12

intToRoman

2017-08-18 15:30:12 180

原创 leetcode 11

maxArea

2017-08-18 11:15:49 260

原创 Effective STL 9 erasing options

To eliminate all objects in a container that have a particular value:contiguous-memory container(vector, deque, or staing)c.erase(remove(c.begin(), c.eng(), 1963), c.end());listc.remove(19...

2017-08-17 11:24:51 236

空空如也

空空如也

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

TA关注的人

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