码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
Linked List Cycle
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42833739 Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 思路:...
分类:其他好文   时间:2015-01-18 10:35:13    阅读次数:157
python_backup
#!/usr/bin/python# Filename: backup_ver4.pyimportosimporttime# 1. The files and directories to be backed up are specified in a list.source = ['/home/s...
分类:编程语言   时间:2015-01-17 23:21:17    阅读次数:249
[leetcode 1] Two Sum
1 题目Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the t...
分类:其他好文   时间:2015-01-17 11:07:27    阅读次数:171
(简单) POJ 3087 Shuffle'm Up,枚举。
Description A common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two st...
分类:其他好文   时间:2015-01-16 23:40:54    阅读次数:326
Unique Paths II (dp题)
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...
分类:其他好文   时间:2015-01-16 23:38:32    阅读次数:178
leetcode 【 Remove Duplicates from Sorted Array II 】python 实现
题目:Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ...
分类:编程语言   时间:2015-01-16 23:36:59    阅读次数:686
[LeetCode] Binary Tree Level Order Traversal II
iven a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exam...
分类:其他好文   时间:2015-01-16 22:17:55    阅读次数:292
[linx] ubuntu网络重启命令
/etc/init.d/networking restart #这种方式必须有/etc/network/interface文件ifconfig eth0 down #直接重启网卡ifconfig eth0 up
分类:系统相关   时间:2015-01-16 22:17:51    阅读次数:265
[MODx] 10. Using Babel for Muti-languages support
1. Go to 'Extras' -> download and install 'Babel'.2. Set up '.htaccess' file, currently, we set up three languages:find '# The Friendly URLs part' in ...
分类:其他好文   时间:2015-01-16 20:48:12    阅读次数:292
LeetCode-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 is marked as 1 and 0 respectively in the ...
分类:其他好文   时间:2015-01-15 23:54:55    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!