bst :binary search tree(二叉搜索树)对于树中的每个节点n,左子树中的所有节点的关键字都小于节点n的关键字,右子树中所有节点的关键字都大于节点n的关键字struct node{ int key; struct node *left; //左节点 s...
分类:
其他好文 时间:
2014-06-28 17:06:24
阅读次数:
186
https://oj.leetcode.com/problems/trapping-rain-water/模拟题,计算出在凹凸处存水量。对于一个位置 i ,分别计算出它左边的最大值 left (从左扫描一遍), 右边的最大值 right(从右扫描一遍) 。找left right中的最小值,如果大于 ...
分类:
移动开发 时间:
2014-06-28 16:32:30
阅读次数:
222
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2014-06-28 16:02:43
阅读次数:
214
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-28 15:55:58
阅读次数:
196
微软近期Open的职位:Organization Summary:Engineering, Community & Online (ECO) is looking for a great "Software Development Engineer" to join our team. Custom...
分类:
其他好文 时间:
2014-06-28 14:11:20
阅读次数:
232
微软近期Open的职位:Organization Summary:Engineering, Community & Online (ECO) is looking for a great "Software Development Engineer" to join our team. Custom...
分类:
其他好文 时间:
2014-06-24 10:29:18
阅读次数:
237
之前用的代码是left:-100%;-webkit-transition:all 5s ease;->left:0;测试部分浏览器效果还是不错的,但是还有另外一部分浏览器无敌卡。经同事提点,换了另外一种方式-webkit-transform:translateX(-100%);-webkit-tra...
分类:
移动开发 时间:
2014-06-24 10:08:04
阅读次数:
276
var p =params.join("&");var a = document.createElement('a');a.href = 'report/exportpubcount.do'+p;a.target = '_blank';a.id='exppub';document.body.appe...
分类:
Web程序 时间:
2014-06-23 06:57:40
阅读次数:
2175
本节单词记忆:属性 1.target 2._blank 3._self 4._top 5._parent网页学习网提示:html语言非常简单,不需要逻辑理解,而绝大部分朋友觉得它难以掌握,90%的原因在于英语单词不过关,所以每节记忆几个单词是非常有必要的。在上节作业中,如果单击left窗口中的导航列...
分类:
其他好文 时间:
2014-06-20 18:28:29
阅读次数:
251
对象操作Linux APIWindows API线程创建pthread_create()CreateThread()退出pthread_exit()ThreadExit()等待pthread_join()WaitForSingleObject()互斥锁创建pthread_mutex_init()Cr...
分类:
Windows程序 时间:
2014-06-20 17:23:05
阅读次数:
1095