码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
[leetcod]Substring with Concatenation of All Words
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatena...
分类:其他好文   时间:2014-06-27 12:44:16    阅读次数:226
[leetcode] Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head.
分类:其他好文   时间:2014-06-27 12:42:55    阅读次数:198
[leetcode] Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
分类:其他好文   时间:2014-06-27 12:29:18    阅读次数:294
[leetcode] Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head.
分类:其他好文   时间:2014-06-27 12:26:10    阅读次数:322
iphone获取当前流量信息
通过读取系统网络接口信息,获取当前iphone设备的流量相关信息,统计的是上次开机至今的流量信息.?1. [代码][C/C++]代码 -(void)checkNetworkflow{ struct ifaddrs *ifa_list = 0, *ifa; if (getifaddrs(&ifa...
分类:其他好文   时间:2014-06-27 11:46:05    阅读次数:223
HP-JavaUtil: xls 操作类
Written In The Font谢谢,陈明.哈哈!共勉,努力搞定它.路漫漫其修远兮,吾将上下而求索ContentExportExcelAndSave( String[] header, List excelList, String sheetTitle, String filePath, St...
分类:编程语言   时间:2014-06-27 11:44:44    阅读次数:330
[leetcode] Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative.
分类:其他好文   时间:2014-06-27 11:39:33    阅读次数:289
Substring with Concatenation of All Words
题目 You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once an...
分类:其他好文   时间:2014-06-27 10:24:26    阅读次数:219
Java程序员们最常犯的10个错误
1.将数组转化为列表 将数组转化为一个列表时,程序员们经常这样做: List list = Arrays.asList(arr); Arrays.asList()会返回一个ArrayList对象,ArrayList类是Arrays的一个私有静态类,而不是java.util.ArrayList类,java.util.Arrays.ArrayList类有set()、get()、con...
分类:编程语言   时间:2014-06-27 10:05:34    阅读次数:319
GSON使用笔记(3) -- 如何反序列化出List
通过3个问题来讨论如何使用GSON把JSON反序列化为List...
分类:其他好文   时间:2014-06-27 07:09:44    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!