自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (8)
  • 收藏
  • 关注

原创 Reverse Words in a String

Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". #include #include #include using namespace std; /* 1. 空

2014-03-18 23:51:54 437

原创 Evaluate Reverse Polish Notation | leetcode

Evaluate Reverse Polish Notation   Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expre

2013-11-28 21:37:16 763

原创 Max Points on a Line | leetcode

Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 以每个点为中心,然后遍历剩余点,找到所有的斜率,如果斜率相同,那么一定共线,每次更新最大点数,最后就是结果。排序O(nlog(n))再乘以n个点,总复杂度O(n2logn)

2013-11-24 12:24:49 1331 2

原创 Sort List | leetcode

Sort List  My Submissions Sort a linked list in O(n log n) time using constant space complexity. Discuss {:CODE:73149}

2013-11-17 18:22:20 1229 1

原创 Insertion Sort List | leetcode

Sort a linked list using insertion sort.

2013-11-13 21:17:47 436

原创 LRU Cache | leetcode

LRU Cache   Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be posi

2013-11-11 10:15:35 722

opencv vs2008工程操纵usb 摄像头(使用directshow)

使用opencv的dierctshow技术控制usb摄像头,vs2008工程

2013-07-11

百度近三年 笔试题 (部分有解答)

百度近三年 笔试题 (部分有解答)2011 2010 2009 其它的就不说了

2011-05-10

perl 语言 the 匹配并以the为中心对齐

用perl语言编写的代码,可以查找一个文档中的the,并以the为中心输出前后三个单词,不区分大小写

2011-03-27

android opengl api参考

英文版的android平台关于opengl es的api,chm版,可查找,非常方便

2011-03-27

c++、C手机阅读器源代码

以前分着下的,现在合成一个,供大家参考,想用c编写的可以看一下

2010-10-12

空空如也

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

TA关注的人

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