码迷,mamicode.com
首页 >  
搜索关键字:no space    ( 18273个结果
Reserved space protection
Reserved space (invalid address) is protected against abnormal access. Reads from invalid address return garbage; writes to invalid address are blocked. Access to reserved space can generate exception...
分类:其他好文   时间:2014-06-20 11:58:31    阅读次数:260
leetcode -day27 Recover Binary Search Tree & Interleaving String
1、 ?? 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...
分类:其他好文   时间:2014-06-20 10:13:49    阅读次数:243
Word Break
题目 Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For example, given s = "leetcode", dict =...
分类:其他好文   时间:2014-06-07 13:53:28    阅读次数:247
Algorithm | Binary Search
1. 普通的二分查找2. 查找最左边的值3. 查找最右边的值Worst case performance: O(log n)Best case performance: O(1)Average case performance: O(log n)Worst case space complexity...
分类:其他好文   时间:2014-06-07 11:19:48    阅读次数:248
Sort List
Sort a linked list inO(nlogn) time using constant space complexity./** * Definition for singly-linked list. * struct ListNode { * int val; * L...
分类:其他好文   时间:2014-06-06 20:01:30    阅读次数:333
毕业设计-6-3
GPS(Graph Processing System),java.lang.OutOfMemoryError: Java heap space,Rdflib,No handlers could be found for logger "rdflib.term"does not look like ...
分类:其他好文   时间:2014-06-06 17:37:26    阅读次数:348
JVM 参数详解
在一些规模稍大的应用中,Java虚拟机(JVM)的内存设置尤为重要,想在项目中取得好的效率,GC(垃圾回收)的设置是第一步。 PermGen space:全称是Permanent Generation space.就是说是永久保存的区域,用于存放Class和Meta信息,Class在被Load的时....
分类:其他好文   时间:2014-06-06 14:06:49    阅读次数:468
LeetCode:Remove Duplicates from Sorted Array && Remove Element
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for...
分类:其他好文   时间:2014-06-06 06:53:19    阅读次数:347
LeetCode: Recover Binary Search Tree [099]
【题目】 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 straight forward. Could you devise a constant space solution? confused what "{1,#,2,3}" ...
分类:其他好文   时间:2014-06-02 10:38:17    阅读次数:246
Leetcode Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?借用博...
分类:其他好文   时间:2014-06-02 07:32:33    阅读次数:291
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!