1,快速安装,通过软件中心 查找安装的安装软件 apt-get install softname1 softname2 softname3……卸载软件 apt-get remove softname1 softname2 softname3……卸载并清除配置 apt-get remove --pur...
分类:
系统相关 时间:
2014-10-27 10:43:00
阅读次数:
240
需要额外添加两个相距为n的节点,遍历一遍之后就可以得到结果。/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(in...
分类:
其他好文 时间:
2014-10-27 00:21:55
阅读次数:
275
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:
其他好文 时间:
2014-10-26 13:01:15
阅读次数:
208
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-10-26 11:34:46
阅读次数:
243
he following error occurred while trying to add or remove files in theinstallation directory: [Errno 13] Permission denied: '/Library/Python/2.7/site....
分类:
编程语言 时间:
2014-10-26 01:37:32
阅读次数:
239
题目:Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't ...
分类:
其他好文 时间:
2014-10-26 00:20:26
阅读次数:
259
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:
其他好文 时间:
2014-10-25 22:57:43
阅读次数:
155
BlockingQueue 是接口 阻塞队列常用的方法有:抛出异常特殊值阻塞超时插入add(e)offer(e)put(e)offer(e, time, unit)移除remove()poll()take()poll(time, unit)检查element()peek()不可用不可用实现它的类有:...
分类:
其他好文 时间:
2014-10-25 21:22:50
阅读次数:
206
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 another array, you must do this in place with...
分类:
其他好文 时间:
2014-10-25 18:51:14
阅读次数:
143
一、python中对文件、文件夹操作时经常用到的os模块和shutil模块常用方法。
1.得到当前工作目录,即当前Python脚本工作的目录路径: os.getcwd()
2.返回指定目录下的所有文件和目录名:os.listdir()
3.函数用来删除一个文件:os.remove()
4.删除多个目录:os.removedirs(r“c:\python”)
5.检验给出的路径是否是一个文...
分类:
编程语言 时间:
2014-10-24 22:19:32
阅读次数:
286