上一页 1 ··· 126 127 128 129 130 131 132 133 134 ··· 273 下一页
摘要: 适合我的快排分区函数: 注意要点: 1、返回index-1,非常关键!!!因为 assert arr[index-1] < pivot and arr[index]>=pivot 2、注意判定条件是 <,当然 <= 也是可以的!!! 3、注意index起始位置是L+1 4、循环的起始位置也是L+1 阅读全文
posted @ 2019-01-02 10:22 bonelee 阅读(778) 评论(0) 推荐(0)
摘要: 论文记录:Identifying Encrypted Malware Traffic with Contextual Flow Data from:https://songcoming.github.io/lectures/%E8%AE%BA%E6%96%87%E8%AE%B0%E5%BD%95-I 阅读全文
posted @ 2018-12-29 10:59 bonelee 阅读(2674) 评论(0) 推荐(1)
摘要: 先说stack的题目 stack的实现:链表,数组 题目: (1)简单的:min stack,一个数组实现三个stack (2)经典的stack问题:经典汉诺塔问题,逆波兰式计算或者产生逆波兰式,简化文件路径,验证括号对是否合法,找出最长有效括号(贪心+stack求解) (3)涉及tree的遍历问题 阅读全文
posted @ 2018-12-27 23:44 bonelee 阅读(669) 评论(0) 推荐(0)
摘要: 一般的数字证书产品的主题通常含有如下字段:公用名称 (Common Name) 简称:CN 字段,对于 SSL 证书,一般为网站域名;而对于代码签名证书则为申请单位名称;而对于客户端证书则为证书申请者的姓名; 单位名称 (Organization Name) :简称:O 字段,对于 SSL 证书,一 阅读全文
posted @ 2018-12-25 17:40 bonelee 阅读(6004) 评论(0) 推荐(0)
摘要: 2018 年的文章, Using deep neural networks to hunt malicious TLS certificates from:https://techxplore.com/news/2018-10-deep-neural-networks-malicious-tls.h 阅读全文
posted @ 2018-12-24 17:19 bonelee 阅读(4163) 评论(1) 推荐(1)
摘要: RCNN- 将CNN引入目标检测的开山之作 from:https://zhuanlan.zhihu.com/p/23006190 from:https://zhuanlan.zhihu.com/p/23006190 from:https://zhuanlan.zhihu.com/p/23006190 阅读全文
posted @ 2018-12-21 14:26 bonelee 阅读(2283) 评论(0) 推荐(0)
摘要: 在一个二维01矩阵中找到全为1的最大正方形 阅读全文
posted @ 2018-12-21 10:30 bonelee 阅读(1679) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/network-delay-time/ There are N network nodes, labelled 1 to N. Given times, a list of travel times as directed edges ti 阅读全文
posted @ 2018-12-09 22:35 bonelee 阅读(841) 评论(0) 推荐(0)
摘要: 单源最短路径 给定一个图,和一个源顶点src,找到从src到其它所有所有顶点的最短路径,图中可能含有负权值的边。 Dijksra的算法是一个贪婪算法,时间复杂度是O(VLogV)(使用最小堆)。但是迪杰斯特拉算法在有负权值边的图中不适用,Bellman-Ford适合这样的图。在网络路由中,该算法会被 阅读全文
posted @ 2018-12-09 21:13 bonelee 阅读(2061) 评论(0) 推荐(0)
摘要: Python内置的heapq模块 Python3.4版本中heapq包含了几个有用的方法:heapq.heappush(heap,item):将item,推入heap >>> items = [1,2,9,7,3] >>> heapq.heappush(items,10) >>> items [1, 阅读全文
posted @ 2018-12-09 12:22 bonelee 阅读(4851) 评论(0) 推荐(0)
上一页 1 ··· 126 127 128 129 130 131 132 133 134 ··· 273 下一页