码迷,mamicode.com
首页 >  
搜索关键字:lists    ( 2473个结果
Android 各国语言包字符串缩写
如果开发一个国际版的安卓应用软件,就需要各种语言包了,在新浪博客看到的,分享一下 语言缩写: http://www.loc.gov/standards/iso639-2/php/code_list.php 国家地区缩写: http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_ele...
分类:移动开发   时间:2014-09-13 22:49:06    阅读次数:429
Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 1 /** 2 ...
分类:其他好文   时间:2014-09-13 20:03:15    阅读次数:228
Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-09-13 20:00:35    阅读次数:207
使用LinkedList实现Stack(栈)与Queue(队列)
首先引用JDK API中关于LinkedList的一句说明:"These operations allow linked lists to be used as a stack, queue, or double-ended queue."由此,可以得知,使用LinkedList可以轻松的实现栈和队...
分类:其他好文   时间:2014-09-13 17:13:05    阅读次数:263
闭包允许内层函数引用父函数中的变量,但是该变量是最终值
今天在学习JavaScript的时候碰到的一个类似于如下代码的问题:/** * * * one * two * three * one * */var lists = document.getElementsByTagName('li');for(var i =...
分类:其他好文   时间:2014-09-11 22:12:02    阅读次数:160
Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-09-07 22:19:15    阅读次数:280
leetcode 之 Merge k Sorted Lists
Merge k Sorted Lists...
分类:其他好文   时间:2014-09-07 16:03:15    阅读次数:122
Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.思路:不断将相邻的链表两两合并,知道只剩一个链表为止。 1 class Solution { 2 pub...
分类:其他好文   时间:2014-09-06 14:51:13    阅读次数:172
LeetCode--Merge Two Sorted Lists
重新写了下,代码看着清爽多了 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6 * ListNode(int x...
分类:其他好文   时间:2014-09-04 20:54:00    阅读次数:162
Linux -- setfacl
SETFACL(1) Access Control Lists SETFACL(1)NAME setfacl - set file access control listsSYNOPSIS setfacl [-bkndRLPvh] [{-m|-x} acl_spec] [{-M|-X} acl_f....
分类:系统相关   时间:2014-09-04 16:28:29    阅读次数:522
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!