题目
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,...
分类:
其他好文 时间:
2014-06-11 06:07:11
阅读次数:
392
软考过后又进入了紧张的B/S学习阶段,由于自己的进度比较慢,所以更要加进学习。现在就来总结下JQuery的一些基础知识:
JQuery定义
jQuery是一套跨浏览器的JavaScript库,简化HTML与JavaScript之间的操作。其宗旨是——WRITE
LESS,DO MORE,写更少的代码,做更多的事情。
JQuery特点
1、以强大的CSS...
分类:
Web程序 时间:
2014-06-11 00:39:35
阅读次数:
350
循环结构 : while循环 do...while循环(几乎不用)
for循环(使用最多)特点:在给定的条件成立时,反复执行某程序段,直到条件不成立为止。给定的条件为循环条件,反复执行的程序段位循环体。一、while循环while(条件表达式){
循环语句;}#import int mai...
分类:
移动开发 时间:
2014-06-10 21:36:59
阅读次数:
346
vector split(const string& src, const
string& separator){vectordest;string str = src;string
substring;string::size_type start = 0, index;do{index = st...
分类:
其他好文 时间:
2014-06-10 20:35:36
阅读次数:
238
原题地址:https://oj.leetcode.com/problems/palindrome-number/题意:Determine
whether an integer is a palindrome. Do this without extra space.click to show
spo...
分类:
编程语言 时间:
2014-06-10 16:06:52
阅读次数:
286
一直在使用js编写自以为是面向对象的方法,遇到一个问题,就是定义一个方法,如下:
function ListCommon2(first,second,third)
{
this.First=function ()
{
alert("first do"+first);
}
}
ListCommon2.do...
分类:
Web程序 时间:
2014-06-10 13:53:01
阅读次数:
240
在面向对象编写js脚本时,定义实例方法主要有两种
如下:
function ListCommon2(afirst)
{
var first=afirst;
this.do1=function ()
{
alert("first do"+first);
}
}
ListCommon2.prototy...
分类:
Web程序 时间:
2014-06-10 11:11:26
阅读次数:
242
What do data scientist do?1. Define the
question2.Define the ideal data set3.Determine what data you can access4.Obtain
the data5.Clean the data6.Expl...
分类:
其他好文 时间:
2014-06-10 09:57:33
阅读次数:
216
JavaScript 是一种解释性的基于对象的脚本语言。 JavaScript 语言使用的语法与 C
语言使用的语法类似,并支持结构化构造,例如if...else、for和do...while。大括号 ({})
用于分隔语句块。该语言支持各种数据类型,包括String、Number、Boole...
分类:
编程语言 时间:
2014-06-10 08:50:04
阅读次数:
284
rite less, do
more.这句话想必是很多语言都提倡的。在此举三个jquery的应用体现一.绑定多个事件类型 $("div").bind("mouseover
mouseout", function () { $(this).toggleClass("over"); ...
分类:
Web程序 时间:
2014-06-09 20:47:18
阅读次数:
261