上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: StringBuffer 和 StringBuilder的区别 集合 Collection相关 ArrayList底层实现 集合相关的内容 JVM 连续的String拼接JVM是如何完成的? JVM 类加载机制 + 双亲委派模型 阅读全文
posted @ 2018-11-06 01:55 AugusKong 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 参考文章: https://juejin.im/post/5a9ca0d6518825555c1d1acd Basic SQL Integrity Constraints: Referential Integrity Constraints: if a foreign key in Table 1 阅读全文
posted @ 2018-11-06 01:55 AugusKong 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 网络的七层结构: 应用层[Application layer](应用协议数据单元APDU): 通过应用进程间的交互来完成特定的网络应用,为操作系统或网络应用程序提供访问网络服务的接口 包含的协议: DNS协议(域名系统,映射域名和IP地址) HTTP协议 SMTP协议(支持电子邮件) 应用层交互的数 阅读全文
posted @ 2018-11-02 04:42 AugusKong 阅读(1729) 评论(0) 推荐(0) 编辑
摘要: 176. Second Highest Salary KEYWORD LIST : Specify the number of records to return in the result set : Returns all rows from the left table, and the ma 阅读全文
posted @ 2018-11-01 03:13 AugusKong 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 827. Making A Large Island Input: A 2D Integer grid Output: the largest island when you change one 0 to 1 Limit: can only change one 0 to 1 如何确定larges 阅读全文
posted @ 2018-06-15 21:41 AugusKong 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 什么是递归过程? 为什么要使用递归? 递归和迭代的优缺点 过程演化的几种典型模式: 线性递归 线性迭代 树形递归 迭代过程 :迭代过程是那种 1. 状态可以用固定书目的状态变量描述的计算过程; 2. 同时又存在着一套固定的规则,描述了计算过程在从一个状态到下一个状态转换时,这些变量的更新方式 3. 阅读全文
posted @ 2018-06-13 11:23 AugusKong 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 690. Employee Importance 最简单的DFS, 设置了一个公司上下级关系的背景而已, input: 一个employee对象的list, 一个employee id, output: total important value of the employee and his su 阅读全文
posted @ 2018-06-09 23:44 AugusKong 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Lint 448. Inorder Successor in BST "https://www.lintcode.com/problem/inorder successor in bst/description" 第一选择是 p.right 的 leftMost节点 第二选择是 p.parent, 阅读全文
posted @ 2018-06-08 02:27 AugusKong 阅读(225) 评论(0) 推荐(0) 编辑
摘要: ```java PriorityQueue queue= new PriorityQueue(lists.length,new Comparator(){ @Override public int compare(ListNode o1,ListNode o2){ if (o1.val 阅读全文
posted @ 2018-06-04 11:26 AugusKong 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 144. Binary Tree Preorder Traversal 题目:对一棵二叉树进行前序遍历,并将结果存在一个List 当中 思路:使用递归 细节: 对于递归版本:注意preorderTraversal() function 返回的是一个List, 所以不正直接用 res.add(root 阅读全文
posted @ 2018-05-31 04:57 AugusKong 阅读(152) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页