12 2018 档案

摘要:先说stack的题目 stack的实现:链表,数组 题目: (1)简单的:min stack,一个数组实现三个stack (2)经典的stack问题:经典汉诺塔问题,逆波兰式计算或者产生逆波兰式,简化文件路径,验证括号对是否合法,找出最长有效括号(贪心+stack求解) (3)涉及tree的遍历问题 阅读全文
posted @ 2018-12-27 23:44 bonelee 阅读(648) 评论(0) 推荐(0) 编辑
摘要:一般的数字证书产品的主题通常含有如下字段:公用名称 (Common Name) 简称:CN 字段,对于 SSL 证书,一般为网站域名;而对于代码签名证书则为申请单位名称;而对于客户端证书则为证书申请者的姓名; 单位名称 (Organization Name) :简称:O 字段,对于 SSL 证书,一 阅读全文
posted @ 2018-12-25 17:40 bonelee 阅读(5662) 评论(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 阅读(4036) 评论(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 阅读(2233) 评论(0) 推荐(0) 编辑
摘要:在一个二维01矩阵中找到全为1的最大正方形 阅读全文
posted @ 2018-12-21 10:30 bonelee 阅读(1644) 评论(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 阅读(806) 评论(0) 推荐(0) 编辑
摘要:单源最短路径 给定一个图,和一个源顶点src,找到从src到其它所有所有顶点的最短路径,图中可能含有负权值的边。 Dijksra的算法是一个贪婪算法,时间复杂度是O(VLogV)(使用最小堆)。但是迪杰斯特拉算法在有负权值边的图中不适用,Bellman-Ford适合这样的图。在网络路由中,该算法会被 阅读全文
posted @ 2018-12-09 21:13 bonelee 阅读(1955) 评论(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 阅读(4806) 评论(0) 推荐(0) 编辑
摘要:819. Most Common Word Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guara 阅读全文
posted @ 2018-12-09 12:18 bonelee 阅读(360) 评论(0) 推荐(0) 编辑
摘要:703. Kth Largest Element in a Stream Easy Easy Design a class to find the kth largest element in a stream. Note that it is the kth largest element in 阅读全文
posted @ 2018-12-09 11:35 bonelee 阅读(321) 评论(0) 推荐(0) 编辑
摘要:Modeling and Analysis of RRC-Based Signalling Storms in 3G Networks 还是使用状态机模型来做恶意UE识别 https://san.ee.ic.ac.uk/publications/ggorbil_gelenbe_TETC_15_fin 阅读全文
posted @ 2018-12-06 12:05 bonelee 阅读(4076) 评论(7) 推荐(0) 编辑
摘要:/** * 如何仅用递归函数和栈操作逆序一个栈 * 题目: * 一个栈依次压入1,2,3,4,5,那么从栈顶到栈底分别为5,4,3,2,1。 * 将这个栈转置后,从栈顶到栈底为1,2,3,4,5,也就是实现栈中元素的逆序, * 但是只能用递归函数来实现,不能用其他数据结构。 * */方法一:既然是递 阅读全文
posted @ 2018-12-06 09:34 bonelee 阅读(361) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示