Longest Substring Without Repeating Characters
摘要:题目三: Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters.For example, ...
阅读全文
posted @
2015-06-23 22:39
cnlin
阅读(147)
推荐(0)
c++容器之vector
摘要:定义:vector 是一个动态存储任何对象的序列容器。头文件:#include初始化: 1. vector v; 创建一个空的vector容器v,其元素类型为T 2. vector v1(v2); 创建存放元素类型为T的vector容器v1,并存放v2所有的元素 3. vector ...
阅读全文
posted @
2015-06-16 22:01
cnlin
阅读(247)
推荐(0)
Two Sum
摘要:工作一年,发现自己的基础非常薄弱,对数据结构相关的知识,不够扎实。决定刷新leetcode题目,巩固下。题目1:Two SumGiven an array of integers, find two numbers such that they add up to a specific target...
阅读全文
posted @
2015-06-12 13:53
cnlin
阅读(146)
推荐(0)