basic algorithm- 20190416-20190425
binary search
14.https://www.lintcode.com/problem/first-position-of-target/description
74.https://www.lintcode.com/problem/first-bad-version/description
Tree
97.https://www.lintcode.com/problem/maximum-depth-of-binary-tree/description
480.https://www.lintcode.com/problem/binary-tree-paths/description
596.https://www.lintcode.com/problem/minimum-subtree/description
93.https://www.lintcode.com/problem/balanced-binary-tree/description
578.https://www.lintcode.com/problem/lowest-common-ancestor-iii/description
95.https://www.lintcode.com/problem/validate-binary-search-tree/description
BFS
69.https://www.lintcode.com/problem/binary-tree-level-order-traversal/description 70.71
7.https://www.lintcode.com/problem/serialize-and-deserialize-binary-tree/description
178.https://www.lintcode.com/problem/graph-valid-tree/description
127.https://www.lintcode.com/problem/topological-sorting/description 拓扑
433.https://www.lintcode.com/problem/number-of-islands/description
432.https://www.lintcode.com/problem/connected-component-in-undirected-graph/description
DFS
135.https://www.lintcode.com/problem/combination-sum/description
153.https://www.lintcode.com/problem/combination-sum-ii/description 选代表条件: i>0 && num[i]==num[i-1] && i!=index
136.https://www.lintcode.com/problem/palindrome-partitioning/description
15.https://www.lintcode.com/problem/permutations/description 排列
16.https://www.lintcode.com/problem/permutations-ii/description 选代表条件:i>0 && nums[i]==nums[i-1] && visited[i-1]=false
list
65.https://www.lintcode.com/problem/median-of-two-sorted-arrays/description
twoSum:
100.https://www.lintcode.com/problem/remove-duplicates-from-sorted-array/description
101.https://www.lintcode.com/problem/remove-duplicates-from-sorted-array-ii/description could do 2nd time
604.https://www.lintcode.com/problem/window-sum/description
415.https://www.lintcode.com/problem/valid-palindrome/description
891.https://www.lintcode.com/problem/valid-palindrome-ii/description
56.https://www.lintcode.com/problem/two-sum/description
609.https://www.lintcode.com/problem/two-sum-less-than-or-equal-to-target/description
608.https://www.lintcode.com/problem/two-sum-ii-input-array-is-sorted/description
607.https://www.lintcode.com/problem/two-sum-iii-data-structure-design/description
57.https://www.lintcode.com/problem/3sum/description
59.https://www.lintcode.com/problem/3sum-closest/description
918.https://www.lintcode.com/problem/3sum-smaller/description
382.https://www.lintcode.com/problem/triangle-count/description
31.https://www.lintcode.com/problem/partition-array/description
373.https://www.lintcode.com/problem/partition-array-by-odd-and-even/description
148.https://www.lintcode.com/problem/sort-colors/description
143.https://www.lintcode.com/problem/sort-colors-ii/description
heap&hash
129.https://www.lintcode.com/problem/rehashing/description reharshing
134.https://www.lintcode.com/problem/lru-cache/description LRU Cache
517.https://www.lintcode.com/problem/ugly-number/description
4.https://www.lintcode.com/problem/ugly-number-ii/description
54.https://www.lintcode.com/problem/top-k-largest-numbers/description
545.https://www.lintcode.com/problem/top-k-largest-numbers-ii/description
612.https://www.lintcode.com/problem/k-closest-points/description
104.https://www.lintcode.com/problem/merge-k-sorted-lists/description
81.https://www.lintcode.com/problem/find-median-from-data-stream/description
401.https://www.lintcode.com/problem/kth-smallest-number-in-sorted-matrix/description
DP:
109.https://www.lintcode.com/problem/triangle/description
110.https://www.lintcode.com/problem/minimum-path-sum/description
114.https://www.lintcode.com/problem/unique-paths/description
115.https://www.lintcode.com/problem/unique-paths-ii/description
679.https://www.lintcode.com/problem/unique-paths-iii/description
111.https://www.lintcode.com/problem/climbing-stairs/description
1054.https://www.lintcode.com/problem/min-cost-climbing-stairs/description
116.https://www.lintcode.com/problem/jump-game/description 解答:http://www.cnblogs.com/yuzhangcmu/p/4039840.html
117.https://www.lintcode.com/problem/jump-game-ii/description resolve:http://www.cnblogs.com/yuzhangcmu/p/4148858.html DP&Greedy
76.https://www.lintcode.com/problem/longest-increasing-subsequence/description LIS
1093.https://www.lintcode.com/problem/number-of-longest-increasing-subsequence/description
basic algorithm- 20190416-20190425的更多相关文章
- FreeCodeCamp 的 Basic Algorithm Scripting 题解(1)
这是本人的原创文章,转载请注明原文链接http://www.cnblogs.com/wusuowiaaa1blog/p/5932121.html. 1.Reverse a String 翻转字符串 先 ...
- Bubble sort of sorting algorithm
Bubble sort,It's a relatively basic algorithm.The core implementation ideas are as follows: 1.Define ...
- Nagle's Algorithm and TCP_NODELAY
w非全尺寸分组的发送条件 HTTP The Definitive Guide TCP has a data stream interface that permits applications to ...
- CartO
Carto documentation The following is a list of properties provided in CartoCSS that you can apply to ...
- 【JUC】JDK1.8源码分析之SynchronousQueue(九)
一.前言 本篇是在分析Executors源码时,发现JUC集合框架中的一个重要类没有分析,SynchronousQueue,该类在线程池中的作用是非常明显的,所以很有必要单独拿出来分析一番,这对于之后 ...
- Back-propagation, an introduction
About Contact Subscribe Back-propagation, an introduction Sanjeev Arora and Tengyu Ma • Dec 20, ...
- Java多线程系列--“JUC集合”05之 ConcurrentSkipListMap
概要 本章对Java.util.concurrent包中的ConcurrentSkipListMap类进行详细的介绍.内容包括:ConcurrentSkipListMap介绍ConcurrentSki ...
- A trip through the Graphics Pipeline 2011_06_(Triangle) rasterization and setup
Welcome back. This time we’re actually gonna see triangles being rasterized – finally! But before we ...
- Cognition math based on Factor Space (2016.05)
Cognition math based on Factor Space Wang P Z1, Ouyang H2, Zhong Y X3, He H C4 1Intelligence Enginee ...
- js中字符和数组一些基本算法题
最近在刷 fcc的题,跟升级打怪一样,一关一关的过,还挺吸引我的.今天抽时间把 Basic Algorithm Scritping 这部分题做了,根据一些提示,还是比较简单的.有些题的处理方式 方法 ...
随机推荐
- Determining Whether Multitasking Is Available
[Determining Whether Multitasking Is Available] Apps must be prepared to handle situations where mul ...
- excel定位函数
在Excel中MATCH函数可以返回指定内容所在的位置,而INDEX又可以根据指定位置查询到位置所对应的数据,各取其优点,我们可以返回指定位置相关联的数据. MATCH函数(返回指定内容所 ...
- swift -pop的简单动画
//1.新建空文件 命名Podfile //2.写入 pod ‘pop’,’~>1.0’ 保存 //3.打开终端,进入项目路径 执行pod install //4.新建桥接头文件 导入#im ...
- WinExec打开exe文件
1,WinExec(): WinExec主要运行EXE文件,不能运行其他类型的文件.不用引用特别单元. 原型:UINT WinExec(exePath,ShowCmd) 示例,我想要用记事 ...
- rzdatetimepicker
两项选为True时可显示今天和圆圈 此属性可使右边按钮下平滑 注意Format中的表示月份的MM一定要大写,不然修改时和分钟会联动.
- StringFormate使用
1常规类型的格式化 1.1显示不同转换符实现不同数据类型到字符串的转换 转换符 说明 示例 %s 字符串类型 “mingrisof” %c 字符类型 'm' %b 布尔类型 tru ...
- shell备份文件时加上时间戳
1.在root目录下新建backup_date文件,写入echo _back_`date '+%Y%m%d%H%M%S'` [root@iZbp10er5cziaoscpe3x0hZ ~]# vi b ...
- ubuntu 16.04.1 nginx彻底删除与重新安装
1.删除nginx,-purge包括配置文件 sudo apt-get --purge remove nginx 2.移除全部不使用的软件包 sudo apt-get autoremove 3.罗列出 ...
- 使用Emit实现给实体赋值
Dapper.net的速度很快,最近看源码,原来他orm的实现是通过编写大量IL代码实现的. 使用DynamicMethod,自己编织一个给实体赋值的方法.这种写法效率很高,接近直接对属性赋值.比使用 ...
- 纸壳CMS3.0中的规则引擎,表达式计算
纸壳CMS3.0中的规则引擎,用于计算通用表达试结果.通常业务逻辑总是复杂多变的,使用这个规则引擎可以灵活的修改计算表达式. IRuleManager IRuleManager,是使用规则引擎的主要接 ...