摘要: TRANSPORT LAYER7.5network dimensioning The question of how much capacity to provide at network links in a given topology to achieve a given level of p 阅读全文
posted @ 2018-12-12 06:42 森淼clover 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 树结构问题因为容易写出解法,因此经常出现在面试题中 1. 树的种类 1) Tree 2) Binary Trees 3) Binary Search Trees(BST) : used to sorted or ordered data. //解决方案:recursion 查找操作(fast and 阅读全文
posted @ 2018-12-01 16:38 森淼clover 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 图论有两种表达方式: 1. 矩阵 Adjacency Metrix 使用矩阵可以表达有向图和无向图,若为无向图,若A_ij=1,则A_ji=1,而无向图则不是。若该图有权重,那么图标中的值则存放权重。 获取一条边的时间复杂度 O(1) 空间复杂夫 O(V^2) 2. 链表 Adjacency Lis 阅读全文
posted @ 2018-11-22 14:18 森淼clover 阅读(115) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-11-08 17:30 森淼clover 阅读(0) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-11-08 16:00 森淼clover 阅读(0) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-11-05 18:38 森淼clover 阅读(0) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-11-05 16:50 森淼clover 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 题目要求 Given a non-empty list of words, return the k most frequent elements. Your answer should be sorted by frequency from highest to lowest. If two 阅读全文
posted @ 2018-11-04 17:42 森淼clover 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 1. 题目要求 Your are given an array of integers prices, for which the i-th element is the price of a given stock on day i; and a non-negative integer fee 阅读全文
posted @ 2018-11-04 16:29 森淼clover 阅读(91) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-11-01 16:34 森淼clover 阅读(1) 评论(0) 推荐(0) 编辑