码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
json的例子
{ "Code": 200, "Msg": "", "Result": "{\"PlatformTypeList\": \"啦啦\"}"}{ "Code": 200, "Msg": "", "Result": {"PlatformTypeList": "啦啦"}}
分类:Web程序   时间:2014-06-15 16:07:39    阅读次数:219
[LeetCode]Swap Nodes in Pairs
Description:Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->...
分类:其他好文   时间:2014-06-15 07:35:31    阅读次数:151
Leetcode:Partition List
Description:Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preser...
分类:其他好文   时间:2014-06-14 19:11:15    阅读次数:173
java程序计算数独游戏
兴趣来了,写了个简单的数独游戏计算程序,未做算法优化。通过文件来输入一个二维数组,9行,每行9个数组,数独游戏中需要填空的地方用0来表示。结果也是打印二维数组。 1 import java.io.File; 2 import java.util.List; 3 //代表数独中的一个单元格位置 4 p...
分类:编程语言   时间:2014-06-14 18:45:46    阅读次数:337
[LeetCode] Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up: Can you solve it without using extra space?比...
分类:其他好文   时间:2014-06-14 15:48:59    阅读次数:217
性能优化——算法优化
背景 由于某种原因,我们系统需要记录另一个系统中一个表里的id。 但是,当我们记录完了以后,别人系统可能会删除那个表里的一些数据,这样的话,我们这边就多了一些无效数据,所以,我们必须的找到这些无效的id,然后将其删除。   开始,我们的实现是这样:我们将记录下来的所有id放在一个list里,然后传到另一个系统,他将他们已经删除的id返回。具体处理代码如下: public String f...
分类:其他好文   时间:2014-06-14 15:06:57    阅读次数:234
SharePoint 创建列表并使用Windows Presentation Foundation应用程序管理列表
使用WPF应用程序更新SharePoint列表,中间使用CAML,XML等技术。...
分类:Windows程序   时间:2014-06-14 14:22:43    阅读次数:248
leetcode--Reverse Linked List II
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.No...
分类:其他好文   时间:2014-06-14 13:15:06    阅读次数:199
数据结构线性表顺序结构的实现
package com.he.list; import java.util.Arrays; import org.w3c.dom.ls.LSException; class ArrayList { private int length;// the list's length private int[] store;// store the data // initialize ...
分类:其他好文   时间:2014-06-14 11:16:05    阅读次数:224
SHELL学习笔记----IF条件判断,判断条件
SHELL学习笔记----IF条件判断,判断条件前言: 无论什么编程语言都离不开条件判断。SHELL也不例外。if list then do something here elif list then do another thing here else do something else here...
分类:其他好文   时间:2014-06-14 09:40:46    阅读次数:204
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!