2016年8月3日

[LeetCode]152. Maximum Product Subarray

摘要: This a task that asks u to compute the maximum product from a continue subarray. However, you need to watch out the values' type contains positive, ne 阅读全文

posted @ 2016-08-03 21:43 暴力的轮胎 阅读(225) 评论(0) 推荐(0) 编辑

2016年7月11日

【Leetcode】115. Distinct Subsequences

摘要: Description: Given two string S and T, you need to count the number of T's subsequences appeared in S. The fucking problem description is so confusing 阅读全文

posted @ 2016-07-11 15:46 暴力的轮胎 阅读(146) 评论(0) 推荐(0) 编辑

2016年7月9日

【LeetCode】105 & 106 Construct Binary Tree from (Preorder and Inorder) || (Inorder and Postorder)Traversal

摘要: Description: Given arrays recording 'Preorder and Inorder' Traversal (Problem 105) or 'Inorder and Postorder' (Problem 106), u need build the binary t 阅读全文

posted @ 2016-07-09 11:58 暴力的轮胎 阅读(209) 评论(0) 推荐(0) 编辑

2016年7月6日

【Leetcode】96. Unique Binary Search Trees

摘要: This is a BST(binary search tree) numbers counting problem but solved in dynamic programing. https://discuss.leetcode.com/category/104/unique-binary-s 阅读全文

posted @ 2016-07-06 22:53 暴力的轮胎 阅读(161) 评论(0) 推荐(0) 编辑

2016年6月28日

【Leetcode】92. Reverse Linked List II && 206. Reverse Linked List

摘要: The task is reversing a list in range m to n(92) or a whole list(206). All in one : U need three pointers to achieve this goal. 1) Pointer to last val 阅读全文

posted @ 2016-06-28 17:13 暴力的轮胎 阅读(177) 评论(0) 推荐(0) 编辑

2016年6月27日

【Leetcode】91. Decode Ways

摘要: Yesterday, Bro Luo told me: "Why don't you improve your English by writing your blogs in English?" I think it may be a good way and i did so today. Pr 阅读全文

posted @ 2016-06-27 23:13 暴力的轮胎 阅读(206) 评论(0) 推荐(0) 编辑

2016年6月22日

记一次面经

摘要: 时间:2016年6月21日 面试公司:春雨医生 面试形式:在线面试 经ljl同学的热心推荐,我获得了春雨公司的一次远程面试的机会。正常在一个自觉很尴尬的时期,研一行将结束的时候,每日在学校很无力的感觉。导师没给留下什么具体的任务,本着不要闲着的原则,我还是积极的参加了这次面试。相比于百度,真心觉得能 阅读全文

posted @ 2016-06-22 00:26 暴力的轮胎 阅读(184) 评论(0) 推荐(0) 编辑

2016年6月21日

涨知识 - II

摘要: 计算机网络相关 1、在无盘工作站向服务器申请IP地址时,使用的是( )协议。 A、ARP B、RARP C、ICMP D、IGMP 解析: ARP(地址解析协议)是设备通过自己知道的IP地址来获得自己不知道的MAC的协议。 RARP(逆地址解析协议) 是设备知道自己的MAC地址,不知道IP地址。(多 阅读全文

posted @ 2016-06-21 10:47 暴力的轮胎 阅读(615) 评论(0) 推荐(0) 编辑

2016年6月19日

B-Tree 漫谈 (从二叉树到二叉搜索树到平衡树到红黑树到B树到B+树到B*树)

摘要: 关于B树的学习还是需要做点笔记。 B树是为磁盘或者其他直接存取辅助存储设备而设计的一种平衡查找树。B树与红黑树的不同在于,B树可以有很多子女,从几个到几千个。比如一个分支因子为1001,高度为2的B树,他可以存储超过10亿个关键字,尽管如此,因为根节点(只有一个)保留在主存中,故这可书中,寻找某一个 阅读全文

posted @ 2016-06-19 16:40 暴力的轮胎 阅读(638) 评论(0) 推荐(0) 编辑

2016年6月18日

涨知识 - 1

摘要: 1.(2分)对于多关键字而言,那种文件组织方便而又高效(B) A、顺序文件 B、倒排文件 C、散列文件 D、B+树索引文件 解析:答案 B。 文件在外存上的基本的组织方式有四种:顺序组织,索引组织,散列组织和链组织;对应的的文件名称分别为:顺序文件、索引文件、散列文件和多关键字文件。选择哪一种文件组 阅读全文

posted @ 2016-06-18 10:28 暴力的轮胎 阅读(407) 评论(0) 推荐(0) 编辑

导航