题目:Reverse a linked list from positionmton. Do it
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m=
2 andn= 4,return1->4->3->2->5->NULL...
分类:
其他好文 时间:
2014-06-09 23:03:18
阅读次数:
254
Using a custom contentType to creating a
list:function GetContentType(){ var clientContext = new
SP.ClientContext(siteUrl); var currentW...
分类:
其他好文 时间:
2014-06-09 00:39:06
阅读次数:
301
有的时候我们需要给某个list添加指定的人员和指定的角色:具体代码如下: 1 function
AddUserAndRoleToList() { 2 var SubClientContent =new SP.ClientContext(siteUrl);
3 ...
分类:
其他好文 时间:
2014-06-09 00:26:54
阅读次数:
268
Using a list template to creating a list in
SubSItefunction CreateList(){ var clientContext = new SP.ClientContext(siteUrl);
var current...
分类:
其他好文 时间:
2014-06-09 00:18:39
阅读次数:
220
文件,目录 pwd:查看当前目录 Print Working Directory
cd,ls(ll),mkdir -p Change Directory List Make Directory du -sh 评估目录或者文件大小 touch
创建新文件 ln -s source dest ...
分类:
系统相关 时间:
2014-06-09 00:05:22
阅读次数:
334
list转json方法一、try {
System.Runtime.Serialization.Json.DataContractJsonSerializer serializer = new
System.Runtime.Serialization.Json.DataContractJsonSe....
分类:
Web程序 时间:
2014-06-08 22:54:27
阅读次数:
268
Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-06-08 21:56:41
阅读次数:
297
Description:Given a binary tree, flatten it to
a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The...
分类:
其他好文 时间:
2014-06-08 18:34:52
阅读次数:
214
一、 www.json.org这是JSON的官方网站。
首先,我,我们需要在code.google.com/p/google-gson/downloads/list下载JSON的jar包,解析后把gson-1.6.jar文件导入到你那个需要解析的项目中去。
解析JSON例子...
分类:
Web程序 时间:
2014-06-08 18:32:14
阅读次数:
231
ListIterator的父接口是Iterator,是List接口中特有的迭代器。
ListIterator在Iterator的基础上,又新添了很多方法:
Iterator中的方法:
1、判断是否有下一个元素:hasNext();
2、获取下一个元素: next();
3、删除迭代器指向的元素:remove();
ListIterator新添的方法:
4、判断...
分类:
其他好文 时间:
2014-06-08 03:15:53
阅读次数:
246