意外发现的文章,等忙完这阵子,准备全都翻译出来!==============================================原作者文章链接:http://www.homolog.us/blogs/blog/2011/07/29/de-bruijn-graphs-ii/
De Brui...
分类:
其他好文 时间:
2014-05-23 09:33:10
阅读次数:
387
【题目】
原文:
2.2 Implement an algorithm to find the nth to last element of a singly linked list.
译文:
实现一个算法从一个单链表中返回倒数第n个元素。
【分析】
【思路一】
(1)创建两个指针p1和p2,指向单链表的开始节点。
(2)使p2移动n-1个位置,使之指向从头...
分类:
其他好文 时间:
2014-05-22 09:03:53
阅读次数:
315
Ext使用了三个核心的工具类对我们掌握的DOM进行了完美的封装。 ┣
Ext.Element(几乎对DOM的一切进行了封彻底装) ┣ Ext.DomHelper(一个强大的操控UI界面的工具类) ┣
Ext.DomQuery(用来进行DOM节点查询)Ext.Element常用的方法: ┣ E...
分类:
Web程序 时间:
2014-05-22 00:55:39
阅读次数:
315
一、IBIS模型的获取a)直接找芯片供应商b) 从网上下载
i.到Google网站直接搜索某个型号的IBIS模型;ii.到器件厂商的官方网站下载;iii.从专门提供IBIS模型的网站搜索下载。c)仿真器件的SPICE
模型或直接测量二、IBIS模型的转化过程将模型的IBIS格式转化为DML格式,可以...
分类:
其他好文 时间:
2014-05-21 20:41:12
阅读次数:
283
Given a sorted array, remove the duplicates in
place such that each element appear onlyonceand return the new length.Do not
allocate extra space for a...
分类:
其他好文 时间:
2014-05-21 20:00:51
阅读次数:
296
Html DOM Ext Element ComponentComponent 最高层Html DOM
最基础Ext.getCmp 是 Ext.ComponentMgr.get 的简称 获取 ComponentExt.get 是 Ext.Element.get
的简称 获取Ext Element.....
分类:
其他好文 时间:
2014-05-21 17:26:40
阅读次数:
258
Microsoft.Maps.Events.addHandler(map, "mousemove", function (e) {
// get the HTML DOM Element that represents the Map
var mapElem = map.getRootElement();
if (e.targetType === "map") {
// Mou...
分类:
其他好文 时间:
2014-05-21 10:47:53
阅读次数:
253
Reverse a linked list from position m to n. Do it in-place and in one-pass.
For example:
Given 1->2->3->4->5->NULL, m = 2 and n =
4,
return 1->4->3->2->5->NULL.
Note:
Given m, n satisfy the fol...
分类:
其他好文 时间:
2014-05-21 07:18:02
阅读次数:
301
Given an array of non-negative integers, you
are initially positioned at the first index of the array.Each element in the
array represents your maximu...
分类:
其他好文 时间:
2014-05-21 04:39:53
阅读次数:
332
5道题目分别是:【Largest Rectangle in Histogram】、【Minimum Path Sum】、【Jump Game】、【Jump Game II 】、【Valid Number】,由于有一些题目不需要发一整篇博文来记录,所以就将这些题目以一篇博文5道来记录。...
分类:
其他好文 时间:
2014-05-21 03:05:33
阅读次数:
481