上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: Sql流程 一条查询语句的执行过程一般是经过连接器、分析器、优化器、执行器等功能模块,最后到达存储引擎。 大体来说,MySQL 可以分为 Server 层和存储引擎层两部分。 Server 层包括连接器、查询缓存、分析器、优化器、执行器等,涵盖 MySQL 的大多数核心服务功能,以及所有的内置函数( 阅读全文
posted @ 2019-09-27 13:55 小张的练习室 阅读(250) 评论(0) 推荐(0)
摘要: Reference [1] https://blog.csdn.net/allenlinrui/article/details/6675998 Nginx 轻量级,采用 C 进行编写,同样的 web 服务,会占用更少的内存及资源 抗并发,nginx 以 epoll and kqueue 作为开发模型 阅读全文
posted @ 2019-03-27 01:34 小张的练习室 阅读(447) 评论(0) 推荐(0)
摘要: Reference [1] https://www.geeksforgeeks.org/stable-quicksort/ Stability A sorting algorithm is said to be stable if it maintains the relative order of 阅读全文
posted @ 2019-03-10 07:13 小张的练习室 阅读(245) 评论(0) 推荐(0)
摘要: Reference [1] https://refactoring.guru/design-patterns/adapter 1. Adapter Design Pattern 适配器模式 Adapter is a structural design pattern, which allows in 阅读全文
posted @ 2019-02-01 22:40 小张的练习室 阅读(177) 评论(0) 推荐(0)
摘要: Rendezvous Hashing Rendezvous or highest random weight (HRW) hashing is an algorithm that allows clients to achieve distributed agreement on a set of  阅读全文
posted @ 2019-01-24 19:40 小张的练习室 阅读(920) 评论(0) 推荐(0)
摘要: Reference [1] https://www.jianshu.com/p/5cc07eae1a0c 批处理 Batch Processing 批处理在大数据世界有着悠久的历史。批处理主要操作大容量静态数据集,并在计算过程完成后返回结果。 批处理模式中使用的数据集通常符合下列特征: 有界:批处理 阅读全文
posted @ 2019-01-03 00:49 小张的练习室 阅读(683) 评论(0) 推荐(0)
摘要: Reference [1] http://www.cnblogs.com/xudong-bupt/p/3667729.html 1.判断单链表是否有环 使用两个slow, fast指针从头开始扫描链表。指针slow 每次走1步,指针fast每次走2步。如果存在环,则指针slow、fast会相遇;如果 阅读全文
posted @ 2018-12-30 05:20 小张的练习室 阅读(127) 评论(0) 推荐(0)
摘要: Trie Time Complexity Insert/search O(l), l is the length of the word Space Complexity O(prefixes), O(n * l * l) n words with length l Binary Search Tr 阅读全文
posted @ 2018-11-20 18:56 小张的练习室 阅读(221) 评论(0) 推荐(0)
摘要: 一提到Tree, LinkedList,Backtracking首先想到的就是递归。 Recursion总体就是一个思想,把这个recursive()方法的logic用到之后的子问题中。现问题的解可以依赖或者不依赖于子问题的解。 在recursive()中必须要做回溯边界检查或剪枝。if (node 阅读全文
posted @ 2018-11-08 09:44 小张的练习室 阅读(275) 评论(0) 推荐(0)
摘要: Reference [1] Repost http://javabypatel.blogspot.com/2016/09/concurrenthashmap-interview-questions.html Question 1. What is the need of ConcurrentHash 阅读全文
posted @ 2018-07-23 17:01 小张的练习室 阅读(421) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 15 下一页