码迷,mamicode.com
首页 >  
搜索关键字:display list    ( 68375个结果
安装Jenkins
本文演示如何在Windows上和Linux上安装Jenkins。 1. Windows上Jenkins安装 参考网页:https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service 在Window...
分类:其他好文   时间:2014-05-01 09:52:49    阅读次数:455
[leetcode]Swap Nodes in Pairs @ Python
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/题意:将链表中的节点两两交换。Given1->2->3->4, you should return the list as2->1->4->3.解题思路:这题主要涉及到链表的操作,没什么...
分类:编程语言   时间:2014-05-01 06:44:21    阅读次数:339
[leetcode]Remove Nth Node From End of List @ Python
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given a linked list, remove thenthnode from the end of list and return its he...
分类:编程语言   时间:2014-05-01 06:42:15    阅读次数:332
LeetCode:Rotate List
题目链接Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.首...
分类:其他好文   时间:2014-05-01 04:52:19    阅读次数:288
Reverse Linked List II
链表反转的简单变形。
分类:其他好文   时间:2014-05-01 03:46:43    阅读次数:248
Leetcode:Reorder List 单链表重排序
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For example, Given {1,2,3,4}, reorder it to ...
分类:其他好文   时间:2014-04-29 13:42:21    阅读次数:427
如何从一个数组中生成随机数组
有一个需要,给定一个数组,从中生成要求个数的随机数组,不重复,即getRandomArray(int[] originalArray,int number) 这样的一个函数。想了一下,可以这样做: 把数组元素放到一个List中从List中随机取一个数把取到的数从List中删除重复上述过程 代码如下: import java.util.ArrayList; import java.ut...
分类:其他好文   时间:2014-04-29 13:41:20    阅读次数:295
Json解析tool工具
JsonTools package com.example.weather_json.tools; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import co...
分类:Web程序   时间:2014-04-29 13:37:21    阅读次数:1039
JS写出登陆遮罩层+浮动对联广告
用JS写出 遮罩层登陆框 和 对联广告 并自动跟随滚动条 滚动 保持让用户一直可以看到   好了,天色已晚废话不多说,代码特别详细 有注释,请看代码。 ================》 越狱的囚徒 #zhezhao{ /*遮罩层 先隐藏起来 后面我会通过JS修改display: 为block 让他显示出来*/ position:absolute; z-index:1000;...
分类:Web程序   时间:2014-04-29 13:35:23    阅读次数:345
struts2 <s: select 标签取值
JSP页面: listValue="name"  key="name"   cssStyle="width:130px"> 后台: private  List navs; navs=navservice.allNav();调用dao层取得所有的值集合。 注: listValue="name"通过设置这个属性显示所有的select内容...
分类:其他好文   时间:2014-04-29 13:32:23    阅读次数:236
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!