Merge two sorted linked lists and return it as a new list. The new list should be made by splicing
together the nodes of the first two lists.
class Solution {
public:
ListNode *mergeTwoLists(Li...
分类:
其他好文 时间:
2014-10-15 15:48:31
阅读次数:
127
$(".li_logout_a").click(function (e) { var hrefs = location.href; e.preventDefault(); $("#lnk_username span").text(""); $(...
分类:
其他好文 时间:
2014-10-15 15:30:30
阅读次数:
199
Minimal coverage
The Problem
Given several segments of line (int the X axis) with coordinates [Li,Ri]. You are to choose the minimal amount of them, such they would completely cover the segment [0,...
分类:
其他好文 时间:
2014-10-14 23:52:09
阅读次数:
247
$(".test li").click(function() {
$(".test li a").removeClass("test01");
$(".test li a").addClass("test02");
$("a", this).removeClass("test02");//当前li中的a标签
$("a", this).addClass("test01");
var tit...
分类:
Web程序 时间:
2014-10-14 19:41:59
阅读次数:
134
DOM操作分为3个方面: DOM Core(核心)、HTML-DOM 和 CSS-DOM1、查找节点: 查找元素节点: var $li = $("ul li:eq(1)"); var li_txt = $li.text(); 查找属性节点: var $p = $("p"); ...
分类:
Web程序 时间:
2014-10-14 18:57:39
阅读次数:
270
1.让ul li水平排列的CSS代码:li {display:inline} 或者采用float:left方式。2.让div水平并排: 或者 但是有一点注意,当把ul li和div放置在同一个div1中,li采用了float会影响到后面的div,所以采用dispaly比...
分类:
其他好文 时间:
2014-10-14 17:31:09
阅读次数:
162
Given a string, write a routine that converts the string to a long, without using the built in functions that would do this. Describe what (if any) li...
分类:
其他好文 时间:
2014-10-14 13:01:28
阅读次数:
201
先下载jdk和adt-bundle-windows-x86-20140702jdk要配置三个环境变量 新建系统变量: JAVA_HOME : E:\Android\jdk(这是jdk装的位置) CLASSPATH : .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\li.....
分类:
移动开发 时间:
2014-10-13 23:54:27
阅读次数:
279
kendo分多个版本,核心UI免费版.NET,JAVA,PHP对应的前后端开发版。基础免费版开放的UI经多个测试,与收费封装的UI并无区别,收费版提供了后端代码和前端封装语法,使不懂JS前端的也可简易开发。基础免费版与专业版的DEMO差距实在太大,基础版的DEMO只提供最基础的DEMO样例,比如li...
分类:
其他好文 时间:
2014-10-13 13:33:39
阅读次数:
229
今天用PHPCMS做一项目时,需要实现在首页调用全站文章的需求,但是PHPCMS没有现成的标签可以拿来用,看了下默认的首页模板,有这么一段代码:{pc:contentaction="hits"catid="6"num="10"order="viewsDESC"}{loop$data$r}<li><ahref="{$r[url]}"target="_blank">{$r..
分类:
其他好文 时间:
2014-10-13 12:06:29
阅读次数:
157