经过前几次产品版本的发本,每次看到写的升级日志就头大,所以这里就利用时间轴插件实现一下这个升级日志的记录,方便查看!好啦,直接上代码:/**
* 初始化时间轴数据展示
*
* @param {} data 时间轴数据对象
*/
function initTimeAxis(data){
var timeAxisHtml = '' + data.name + '';
$.each(dat...
分类:
其他好文 时间:
2014-10-09 14:52:54
阅读次数:
334
Find the intersection of two sorted arrays.Let’s called array1 as A and array2 as B, each with size m and n.The obvious brute-force solution is to sca...
分类:
其他好文 时间:
2014-10-09 14:20:13
阅读次数:
161
You are given a grid of numbers. A snake sequence is made up of adjacent numbers such that for each number, the number on the right or the number belo...
分类:
其他好文 时间:
2014-10-09 14:15:14
阅读次数:
197
问题描述:
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place
...
分类:
其他好文 时间:
2014-10-09 02:58:47
阅读次数:
175
Algorithm: Iterate copy the original list first. For the random pointer, copy its original value(address) first. And during the iterate, use a map to store each node's original address and the corresp...
分类:
其他好文 时间:
2014-10-09 02:52:27
阅读次数:
187
这道题真真是在面试中碰到过,可惜当时复杂度到O(n2)了,太挫了,怪不得没有通过面试。
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two en...
分类:
编程语言 时间:
2014-10-09 01:58:17
阅读次数:
229
//模拟下拉框$(".Js_dropMod").each(function(){ var _this=$(this) //_this.find(".Js_hiddenVal").val("") var curObj=_this.find(".Js_curVal"); if(curObj...
分类:
其他好文 时间:
2014-10-08 17:02:35
阅读次数:
224
1.1.1 Remove Duplicates from Sorted Array题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the ...
分类:
其他好文 时间:
2014-10-08 14:20:45
阅读次数:
229
[leetccode]You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?...
分类:
其他好文 时间:
2014-10-08 11:29:55
阅读次数:
193
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have t...
分类:
其他好文 时间:
2014-10-08 07:40:24
阅读次数:
228