码迷,mamicode.com
首页 >  
搜索关键字:world space    ( 29110个结果
Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:其他好文   时间:2014-06-04 21:38:05    阅读次数:233
Unique Paths II
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:其他好文   时间:2014-06-04 19:54:55    阅读次数:258
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 (size that is greater or equal...
分类:其他好文   时间:2014-06-04 18:18:08    阅读次数:259
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 ...
分类:其他好文   时间:2014-06-03 13:53:21    阅读次数:309
[leetcode]Word Break @ Python
原题地址:https://oj.leetcode.com/problems/word-break/题意:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated...
分类:编程语言   时间:2014-06-03 09:14:24    阅读次数:293
一些webGL地球
http://world.openwebglobe.org/http://cesiumjs.org/demos.htmlhttp://www.webglearth.com/#ll=30.84991,-85.83333;alt=185032;h=0.060;t=1.248http://www.chro...
分类:Web程序   时间:2014-05-30 18:43:13    阅读次数:285
Word Break
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:其他好文   时间:2014-05-30 16:09:32    阅读次数:213
Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?/** * Definition for singly-linked list. *...
分类:其他好文   时间:2014-05-30 16:08:05    阅读次数:238
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-05-30 15:59:56    阅读次数:249
Sort List
Sort a linked list inO(nlogn) time using constant space complexity./** * Definition for singly-linked list. * struct ListNode { * int val; * L...
分类:其他好文   时间:2014-05-30 15:17:18    阅读次数:312
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!