码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
leetcode -- Merge Sorted Array
过去已无法改变,未来又难以琢磨,我们只能把握当下[问题描述]Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space ...
分类:其他好文   时间:2014-08-15 21:02:49    阅读次数:165
leetcode 之 Recover Binary Search Tree
Recover Binary Search Tree Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty s...
分类:其他好文   时间:2014-08-15 19:39:39    阅读次数:222
LeetCode (1) Merge Sorted Array
题目: Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space to hold additional elements from B. The number of elements initia...
分类:其他好文   时间:2014-08-15 18:00:09    阅读次数:194
LeetCode "Largest Rectangle in Histogram" - TRICKY MONO-QUEUE
I got a DP solution first which is O(n^2). Apparently it is not a optimized one - think about: it is linear value space. There must be O(n) solution.A...
分类:其他好文   时间:2014-08-15 05:04:07    阅读次数:249
第三章 shell学习之正则表达式
正则表达式\<the\>:精确匹配the,不包括包含the的单词[^b-d]:不包含b~da\{2\}:a出现2次a\{2,3\}:a出现2~3次a\{2,\}:a至少出现2次[:upper:]:大写字母(用的时候外面加一层[]表示匹配字符集合)[:lower:]:小写字母[:digit:]:数字[:alnum:]:大小写字母和数字[:space..
分类:其他好文   时间:2014-08-15 02:52:37    阅读次数:199
Android学习路线(二十二)运用Fragment构建动态UI——构建一个灵活的UI
When designing your application to support a wide range of screen sizes, you can reuse your fragments in different layout configurations to optimize the user experience based on the available screen space. For example, on a handset device it might be appr...
分类:移动开发   时间:2014-08-15 01:33:26    阅读次数:344
Multiple address space mapping technique for shared memory wherein a processor operates a fault handling routine upon a translator miss
Virtual addresses from multiple address spaces are translated to real addresses in main memory by generating for each virtual address an address space...
分类:移动开发   时间:2014-08-14 13:24:28    阅读次数:489
Understanding the Space Used by ZFS -- (转)
Understanding the Space Used by ZFSBy Brian Leonard on Sep 28, 2010Until recently, I've been confused and frustrated by the zfs list output as I try t...
分类:其他好文   时间:2014-08-14 10:31:38    阅读次数:390
Leetcode--Sort List
Problem Description: Sort a linked list in O(n log n) time using constant space complexity. 分析:对链表进行排序,思考排序算法时间复杂度为O(nlogn)的只有归并,快排和堆排序,应用到链表上的归并比较合适,这里利用快慢指针找到链表的中间节点,然后分别对两边递归归并排好序后将两边归并即可得到最终...
分类:其他好文   时间:2014-08-13 22:25:57    阅读次数:234
VRRP协议具体解释
转帖:http://blog.chinaunix.net/space.php?uid=11654074&do=blog&id=2857384Contents Page文件夹入木三分学网络第一篇--VRRP协议具体解释... 11. VRRP产生背景及应用环境... 21.1为什么要用VRRP. 22...
分类:其他好文   时间:2014-08-13 22:18:47    阅读次数:785
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!