码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
android学习笔记--Scanner
private static List getxxxx(Context ctx) { try {Scanner sc = new Scanner( ctx.openFileInput("xxx.txt")); ArrayLis...
分类:移动开发   时间:2014-06-25 16:16:20    阅读次数:197
如何去除List中的重复值?
去除List中的重复值
分类:其他好文   时间:2014-06-25 15:31:00    阅读次数:149
Wishlist
ToolsKindle 3(2011-5-7)MacBook Pro(2012-2-10)Crucial M4 128GB SSD(2012-3-28)iPad 4(2012-12-7)Betas solo(2012-12-19)HHKB Pro 2(2012-12-15)Nexus 4(2012-...
分类:其他好文   时间:2014-06-25 13:31:23    阅读次数:209
C++学习指南
转载于stackoverflow:http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list 感谢George Stocker的总结Reference Style - All Levels A Tour...
分类:编程语言   时间:2014-06-25 13:28:14    阅读次数:314
Leetcode: Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o...
分类:其他好文   时间:2014-06-25 12:14:23    阅读次数:159
LeetCode:Substring with Concatenation of All Words (summarize)
题目链接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 conca...
分类:其他好文   时间:2014-06-25 09:42:27    阅读次数:230
输入两个整数n和m,从数列1,2,3,……n中随意取几个数,使其和等于m
题目:编程求解,输入两个整数n和m,从数列1,2,3,……n中随意取几个数,使其和等于m。要求将所有的可能组合列出来。分析:分治的思想。可以把问题(m,n)拆分(m - n, n -1)和(m, n - 1)。注意点:1、n大于m时,可直接从n = m出开始搜索 2、结束条件:n list ...
分类:其他好文   时间:2014-06-25 09:14:33    阅读次数:198
STL之deque容器的实现框架
vector底层采用的是一个数组来实现,list底层采用的是一个环形的双向链表实现,而deque则采用的是两者相结合,所谓结合,并不是两种数据结构的结合,而是某些性能上的结合。我们知道,vector支持随机访问,而list支持常量时间的删除,deque支持的是随机访问以及首尾元素的删除。...
分类:其他好文   时间:2014-06-25 08:17:41    阅读次数:383
搭建虚拟用户VSFTPD
搭建虚拟用户VSFTPD1.首先安装vsftpdyum-yinstallvsftpd2.安装db4-utils-*这个是建立虚拟用户数据库文件3.建立文本格式用户名/密码文件vim/etc/vsftpd/vusers.list文件中添加用户名和密码,第一行用户名,第二行密码例如:vuser1234.使用db_load工具把刚才的vusers.list转化为D..
分类:其他好文   时间:2014-06-25 06:36:16    阅读次数:239
Linux 上SSH 服务的配置和管理
基本上Linux的网络服务器在远程操作大多时候都是使用SSH来配置、管理服务器。现在我们就来分享一下简单配置Linux的SSH服务。1.检查一下默认安装的系统是否安装了SSH服务:chkconfig--list|grepsshd2.首先要备份配置文件,任何时候我们需要修改配置文件的时候都建议先..
分类:系统相关   时间:2014-06-25 06:11:31    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!