2015年8月5日
摘要: 原题目 https://leetcode.com/problems/reverse-integer/Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321click to show... 阅读全文
posted @ 2015-08-05 15:57 cnlin 阅读(137) 评论(0) 推荐(0) 编辑
  2015年6月23日
摘要: 题目三: 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 阅读(136) 评论(0) 推荐(0) 编辑
  2015年6月16日
摘要: 定义: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 阅读(226) 评论(0) 推荐(0) 编辑
  2015年6月12日
摘要: 工作一年,发现自己的基础非常薄弱,对数据结构相关的知识,不够扎实。决定刷新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 阅读(139) 评论(0) 推荐(0) 编辑