- 博客(91)
- 资源 (8)
- 收藏
- 关注
原创 Linux cgroup控制进程资源
通过cgroup控制进程资源使用时,遇到/bin/echo 4153554 > tasks /bin/echo: write error: No space left on device解决方法:开始时只写入了cpuset.cpus,没有对cpuset.mems,因此使其没有足够的内存而导致不允许写入。所以应首先对cpuset.mems写入值。[root@node103 tes
2016-04-27 14:50:31
1237
转载 彻底理解webservice SOAP WSDL
转自http://blog.youkuaiyun.com/zhuizhuziwo/article/details/8153327WebServices简介先给出一个概念 SOA ,即Service Oriented Architecture ,中文一般理解为面向服务的架构,既然说是一种架构的话,所以一般认为 SOA 是包含了运行环境,编程模型,架构风格和相关方法论等在内的一
2016-04-08 12:54:23
1167
原创 Leetcode之Basic Calculator & Basic Calculator II
Leetcode之basic calculator、basic calculator II
2016-04-04 21:26:47
450
转载 数据结构之“堆”
转载自http://www.cnblogs.com/Jason-Damon/archive/2012/04/18/2454649.html1.堆 堆数据结构是一种数组对象,它可以被视为一科完全二叉树结构。它的特点是父节点的值大于(小于)两个子节点的值(分别称为大顶堆和小顶堆)。它常用于管理算法执行过程中的信息,应用场景包括堆排序,优先队列等。2. 堆的基本
2016-04-03 17:11:50
433
原创 Leetcode之Intersection of Two Linked Lists
leetcode之Intersection of Two Linked Lists分析,双指针
2016-03-30 21:23:02
322
原创 HTCondor python bindings使用
因为想通过web提交condor作业,所以先看了看提供的python接口,python接口中提交作业时使用的是classad,而不是submit file,对于属性的定义写法会不太一样。一开始在自己瞎折腾,后来才发现可以使用condor_submit -dump命令,该命令可以将submit file转换为classad形式,这样就不会有问题了。还有condor配置文件中设置只能以co
2016-03-24 09:31:43
1140
原创 Leetcode之Minimum Size Subarray Sum
leetcode之Minimum Size Subarray Sum,O(n),python
2016-03-15 14:59:08
425
转载 [Leetcode之Search in Rotated Sorted Array II (Java)
Leetcode之Search in Rotated Sorted Array II (Java实现)
2016-02-26 16:34:55
569
原创 Leetcode之super ugly number
Leetcode之super ugly number,java优先队列,python heapq
2016-02-24 19:30:16
644
原创 Leetcode之Jump Game & Jump Game II
Leetcode之Jump Game & Jump Game II,贪心算法实现,python编写。
2016-02-19 18:07:32
367
转载 java.util.Stack类简介
转自http://blog.youkuaiyun.com/a19881029/article/details/9408649Stack是一个后进先出(last in first out,LIFO)的堆栈,在Vector类的基础上扩展5个方法而来Deque(双端队列)比起Stack具有更好的完整性和一致性,应该被优先使用[plain] view plain copy
2016-02-13 16:54:20
359
原创 Leetcode之Remove Duplicate Letters
leetcode之remove duplicate letters,greedy,stack,java,python实现
2016-02-13 16:52:18
461
转载 Leetcode之first missing positive
Leetcode之first missing positive,桶排序,python及c++代码
2016-02-12 14:51:16
368
转载 Leetcode之Substring with Concatenation of All Words
Substring with Concatenation of All Words ,线性算法
2016-01-23 22:14:49
396
原创 libpython2.7.a(abstract.o) recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
2016-01-23 22:03:44
4835
原创 Leetcode之Reverse Nodes in k-Group (Hard)
Leetcode之Reverse Nodes in k-Group解法分析
2016-01-16 22:06:41
346
转载 Leetcode之Next Permutation (Medium)
leetcode之next permutation,使用STL中的next permutation思路,Python代码
2016-01-12 21:59:30
408
原创 Leetcode之Divide Two Integers
leetcode divide two integers通过binary search实现,使用java编写。
2016-01-09 23:20:31
335
原创 Leetcode之Implement strStr()
KMP算法详解,Leetcode之Implement strStr()Java及Python实现
2016-01-09 17:16:30
643
原创 LeetCode之Longest Palindromic Substring
leetcode之Longest palindromic substring,使用动态规划、中心扩展法等求解。java实现。
2015-11-23 19:14:19
340
原创 LeetCode之Median Of Two Sorted Arrays
Leetcode Median of Two Sorted Arrays java实现
2015-11-21 22:03:29
282
原创 LeetCode之Longest Substring Without Repeating Characters
leetcode之Longest Substring Without Repeating Characters,java实现,hashmap,hashset
2015-11-15 22:32:08
429
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人