码迷,mamicode.com
首页 >  
搜索关键字:extra    ( 2903个结果
LeetCode OJ - 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?解题思路: 使用快慢指针,快指针每次走两步,慢指针每次走一步...
分类:其他好文   时间:2014-05-16 05:19:21    阅读次数:271
[LeetCode]Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space....
分类:其他好文   时间:2014-05-15 14:38:59    阅读次数:278
【LeetCode】Linked List Cycle
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?做完Linked List Cycle II在做这...
分类:其他好文   时间:2014-05-14 23:30:00    阅读次数:399
LeetCode 009 Palindrome Number
【题目】 Determine whether an integer is a palindrome. Do this without extra space. 【题意】 题意判断一个整数是否是回文数 注意一下几点: 1. 不能用额外的空间 2. 负数不是回文数...
分类:其他好文   时间:2014-05-14 20:31:10    阅读次数:298
Extra Credits: "Gamer" 08 ,09
08 讨论了“Gamer”这个词,以及我们应该如何对待我们的游戏。虽然讲的不错,但在游戏设计这方面没有什么可以学习的。09 Extra Credits: Video Game Music 这期讨论了游戏中的音乐。现在我们有了更好的设备,更先进的理念,更多的表现手法,但比起当时8bit音乐时代似乎少了...
分类:其他好文   时间:2014-05-14 12:54:32    阅读次数:297
echsop设置伪静态
1、后台商店设置-基本设置-URL重写开启2、修改httpd.conf文件AllowOverride None 改为AllowOverride AllLoadModule rewrite_module modules/mod_rewrite.so前面的#号删除3、打开conf\extra\http....
分类:其他好文   时间:2014-05-14 02:03:49    阅读次数:442
【LeetCode】Set Matrix Zeroes
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:其他好文   时间:2014-05-12 08:22:51    阅读次数:255
【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-05-09 10:42:09    阅读次数:329
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-05-07 14:07:56    阅读次数:345
CareerCup之1.3字符串去重
【题目】 原文: 1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two additional variables are fine. An extra copy of...
分类:其他好文   时间:2014-05-07 08:48:12    阅读次数:372
2903条   上一页 1 ... 288 289 290 291 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!