People who use computers ghd hair straighteners go for movie star times, Search for, Stop GHD Peacock 2013 well-accepted showdowns, And luxuriate in b...
分类:
其他好文 时间:
2014-07-23 15:15:36
阅读次数:
232
function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); ...
分类:
Web程序 时间:
2014-07-23 13:00:46
阅读次数:
204
2 solutions: bin-search and Newton iteration.class Solution {public: int _sqrt(long long tgt, long long i0, long long i1) { long long can...
分类:
其他好文 时间:
2014-07-23 12:02:06
阅读次数:
236
题目:Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a funct....
分类:
编程语言 时间:
2014-07-22 22:47:55
阅读次数:
214
~/.vimrc //vim环境脚本~/.viminfo //vim登录信息:set nu :set nonu //设置是否取消行号:set hlsearch:set nohlsearch // hight light search(高亮度搜寻) //是否反白:set backup //是否自动存....
分类:
其他好文 时间:
2014-07-22 22:47:33
阅读次数:
388
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.题解:开始想到的方法比较偷懒,直接遍历一遍数组,把每个ListNode对应的值放到...
分类:
其他好文 时间:
2014-07-22 22:45:13
阅读次数:
271
Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your program should return all 5 uni...
分类:
其他好文 时间:
2014-07-22 22:42:33
阅读次数:
243
1.Given an array where elements are sorted in ascending order, convert it to a height balanced BST.
2.Given a singly linked list where elements are sorted in ascending order, convert it to a heig...
分类:
其他好文 时间:
2014-07-21 23:45:53
阅读次数:
264
Multiplication Table
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u
Submit
Status
Practice
CodeForces 448D
Description
Bizon the Champion isn't just charming, he al...
分类:
其他好文 时间:
2014-07-21 23:29:23
阅读次数:
311
Graph-Based Segmentation 是经典的图像分割算法,作者Felzenszwalb也是提出DPM算法的大牛。该算法是基于图的贪心聚类算法,实现简单,速度比较快,精度也还行。不过,目前直接用它做分割的应该比较少,毕竟是99年的跨世纪元老,但是很多算法用它作垫脚石,比如Object Propose的开山之作《Segmentation as Selective Search for Object Recognition》就用它来产生过分割(oversegmentation)。还有的语义分割(se...
分类:
其他好文 时间:
2014-07-21 22:47:07
阅读次数:
406