- 博客(5)
- 收藏
- 关注
原创 Linux常用命令总结
1. mkdir命令命令参数:-m,--mode=模式,设定权限(类似chmod),而不是rwxrwxrwx减umask-p,--parents可以是一个路径名称。此时若路径中的某些目录尚不存在,加上此选项后,系统将自动建立好那些尚不存在的目录,即一次可以建立多个目录; -v,--verbose每次创建新目录都显示信息l 创建权限为777的目录[root@client t
2017-05-15 14:39:49
174
原创 Container With Most Water
参考:https://yq.aliyun.com/articles/889Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the tw
2017-05-10 10:21:05
136
原创 递归
/*递归伪代码void recurs(argumentlist){ statements1 if(test) recurs(arguments) statements2}只要if语句为true,每个recurs()调用都将执行statements1,然后在返回recurs(),而不会执行stat
2017-05-05 22:51:39
95
原创 Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->5->NULL.Note:Given m, n satisfy t
2017-05-05 22:50:30
125
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人