码迷,mamicode.com
首页 >  
搜索关键字:duplicates 报警    ( 4479个结果
Leetcode--permutations II
Problem Description: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the following unique permutations: [1,1,2...
分类:其他好文   时间:2014-09-09 16:17:29    阅读次数:200
Remove Duplicates from Sorted Array II <leetcode>
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 ret...
分类:其他好文   时间:2014-09-09 12:23:58    阅读次数:176
【leetcode】Remove Duplicates from Sorted List II-很精简
觉着自己写的比看到的答案精简,分享一下: class Solution { public: ListNode *deleteDuplicates(ListNode *head) { if(head == NULL) return NULL; ListNode res(-1); ListNode* pre = &res; pr...
分类:其他好文   时间:2014-09-08 01:03:16    阅读次数:267
Leetcode: Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique per...
分类:其他好文   时间:2014-09-08 00:55:26    阅读次数:269
edwin报警和监控平台近期的更新(python源码)
edwin从发布以来, 得到了不少关注, 获得了不少star. 最近又做了一些很有意义的改进, 同时完善了部分文档. 项目地址: https://github.com/harryliu/edwin , 欢迎fork或PR, 如果喜欢, 请打star. ? 再次介绍一下edw...
分类:编程语言   时间:2014-09-06 18:53:14    阅读次数:335
shell监控脚本
shell脚本监控网站并实现邮件、短信报警shell进程监控脚本(发送邮件报警)Shell脚本监控服务器在线状态和邮件报警的方法如果是139邮箱还可免费手机短信通知。注:通过系统直接发送mail容易被拦截,可使用mail连接第三方smtp发送邮件。
分类:其他好文   时间:2014-09-06 18:31:53    阅读次数:201
Linux下查看文件和文件夹大小
当磁盘大小超过标准时会有报警提示,这时如果掌握df和du命令是非常明智的选择。 df可以查看一级文件夹大小、使用比例、档案系统及其挂入点,但对文件却无能为力。 du可以查看文件及文件夹的大小。 两者配合使用,非常有效。比如用df查看哪个一级目录过大,然后用df查看文件夹或文件的大小,如此便可迅速确定...
分类:系统相关   时间:2014-09-06 17:22:13    阅读次数:272
Leetcode: Subsets II
Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset must be in non-descending order...
分类:其他好文   时间:2014-09-06 07:32:22    阅读次数:239
edwin报警和监控平台近期的更新(python源码)
edwin从发布以来, 得到了不少关注, 获得了不少star. 最近又做了一些很有意义的改进, 同时完善了部分文档. 项目地址: https://github.com/harryliu/edwin , 欢迎fork或PR, 如果喜欢, 请打star. 再次介绍一下edwin项目edwin是一个报警和...
分类:编程语言   时间:2014-09-06 02:13:02    阅读次数:563
Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2014-09-05 05:31:40    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!