harryhook.github.io's People
harryhook.github.io's Issues
LeetCode 86. Partition List | harryhook's blogs
https://harryhook.xyz/2020/02/26/leetcode/linkedlist/partition-list/
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
中介者模式 | harryhook's blog
https://coderunning.fun/2020/05/05/design-pattern/%E4%B8%AD%E4%BB%8B%E8%80%85%E6%A8%A1%E5%BC%8F/
当飞机起飞或者着陆时, 如果没有塔台将会发生什么?
观察者模式 | harryhook's blogs
https://harryhook.xyz/2020/04/25/design-pattern/%E8%A7%82%E5%AF%9F%E8%80%85%E6%A8%A1%E5%BC%8F/
当对象间存在一对多的关系且一个对象修改会影响到其他对象时,自动通知其他对象被依赖的对象作出改变即观察者模式。
简单工厂 | harryhook's blogs
https://www.harryhook.xyz/2019/10/17/design-pattern/%E7%AE%80%E5%8D%95%E5%B7%A5%E5%8E%82/
简单工厂是平时使用最多的工厂模式, 一种特殊的工厂方法模式
LeetCode 23. Merge k Sorted Lists | harryhook's blogs
https://www.harryhook.xyz/2019/12/18/leetcode/linkedlist/MergeKLists/
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
LeetCode 109. Convert Sorted List to Binary Search Tree | harryhook's blog
https://coderunning.fun/2020/03/29/leetcode/linkedlist/convert-sorted-list-to-binary-search-tree/
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.
Adapter模式 | harryhook's blogs
https://www.harryhook.xyz/2019/11/30/design-pattern/Adapter%E6%A8%A1%E5%BC%8F/
联想到日常生活中的适配器, 来看下程序设计中的适配器模式是什么样的
《高性能MySQL》-1.架构与历史 | harryhook's blogs
https://harryhook.github.io/2020/02/08/mysql/note-1-mysql-history/
MySQL的隔离级别和事务的特性到底是怎么回事
桥接模式 | harryhook's blogs
https://harryhook.xyz/2020/03/15/design-pattern/%E6%A1%A5%E6%8E%A5%E6%A8%A1%E5%BC%8F/
当前有一个需求,既需要画出三角形、正方形, 同时还需要对它们上不同的颜色, 你会采取什么样的设计?
命令模式 | harryhook's blogs
https://harryhook.xyz/2020/04/26/design-pattern/%E5%91%BD%E4%BB%A4%E6%A8%A1%E5%BC%8F/
将请求的发起方与请求的执行方进行解耦是命令模式最显著的特征。
LeetCode 142. Linked List Cycle II | harryhook's blogs
https://harryhook.xyz/2020/04/19/leetcode/linkedlist/linked-list-cycle-ii/
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.
LeetCode 82. Remove Duplicates from Sorted List II | harryhook's blog
https://coderunning.fun/2020/02/23/leetcode/linkedlist/remove-duplicates-from-sorted-list-ii/
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
LeetCode 19. Remove Nth From End of List | harryhook's blog
https://coderunning.fun/2019/12/09/leetcode/linkedlist/RemoveNthFromEnd/
Given a linked list, remove the n-th node from the end of list and return its head.
模板方法模式 | harryhook's blogs
抽象工厂 | harryhook's blog
https://coderunning.fun/2019/10/17/design-pattern/%E6%8A%BD%E8%B1%A1%E5%B7%A5%E5%8E%82/
抽象工厂相比于工厂方法模式的不同在于,一个抽象工厂可以创建多个不同的产品
MySQL 扩展 | harryhook's blogs
https://harryhook.xyz/2020/04/06/mysql/note10-scaling-mysql/
当 MySQL 规模变的越来越大时, 如何保证高效且经济?
LeetCode 92. Reverse Linked List II | harryhook's blogs
https://harryhook.xyz/2020/03/22/leetcode/linkedlist/reverse-linked-list-ii/
Reverse a linked list from position m to n. Do it in one-pass.
LeetCode 2. Add Two Numbers | harryhook's blog
https://coderunning.fun/2019/12/02/leetcode/linkedlist/AddTwoNumbers/
两链表相加, 以链表形式顺序输出结果
外观模式 | harryhook's blogs
https://harryhook.xyz/2019/11/22/design-pattern/%E5%A4%96%E8%A7%82%E6%A8%A1%E5%BC%8F/
当你打开了hao123.com访问你喜好的网站时, 这个时候就用到了外观模式!
LeetCode 61. Rotate List | harryhook's blog
https://coderunning.fun/2020/02/23/leetcode/linkedlist/rotate-list/
Given a linked list, rotate the list to the right by k places, where k is non-negative.
组合模式 | harryhook's blog
LeetCode 25. Reverse Nodes In k Group | harryhook's blog
https://coderunning.fun/2020/02/23/leetcode/linkedlist/reverse-nodes-in-k-group/
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
一文吃透 MVCC | harryhook's blog
https://coderunning.fun/2021/08/08/mysql/%E4%B8%80%E6%96%87%E5%90%83%E9%80%8FMVCC/
MVCC 到底是个什么东西?为什么 RC 就不可重复读了!
分类&标签 | harryhook's blogs
Hexo + Github 搭建博客(Mac篇) | harryhook's blogs
https://harryhook.xyz/2020/02/18/blog/git-pages-1/
本文教你如何利用 github pages 快速白嫖一个博客!
MySQL 复制存储的问题 | harryhook's blogs
https://harryhook.xyz/2020/03/28/mysql/note9-replica-problems/
MySQL 复制存在哪些问题?
LeetCode 141. Linked List Cycle | harryhook's blog
https://coderunning.fun/2020/04/19/leetcode/linkedlist/linked-list-cycle/
Given a linked list, determine if it has a cycle in it.
LeetCode 83.Remove Duplicates from Sorted List | harryhook's blogs
https://harryhook.xyz/2020/02/23/leetcode/linkedlist/remove-duplicates-from-sorted-list/
Given a sorted linked list, delete all duplicates such that each element appear only once.
策略模式 | harryhook's blogs
https://harryhook.xyz/2020/04/24/design-pattern/%E7%AD%96%E7%95%A5%E6%A8%A1%E5%BC%8F/
对不同算法进行封装封装, 让客户端决定去使用哪种算法就是策略模式。
迭代器模式 | harryhook's blog
https://coderunning.fun/2020/05/26/design-pattern/%E8%BF%AD%E4%BB%A3%E5%99%A8%E6%A8%A1%E5%BC%8F/
使用集合顺序遍历元素时经常会用到 Iterator,而 Iterator 就是最经典的迭代器模式的应用。
代理模式 | harryhook's blogs
https://www.harryhook.xyz/2019/12/21/design-pattern/%E4%BB%A3%E7%90%86%E6%A8%A1%E5%BC%8F/
在国内时访问谷歌, 就是标准的代理模式。 通过VPN进行科学上网, VPN就是一个代理
LeetCode 21. Merge Two Sorted Lists | harryhook's blogs
https://www.harryhook.xyz/2019/12/17/leetcode/linkedlist/MergeTwoLists/
Merge two sorted linked lists and return it as a new list.The new list should be made by splicing together the nodes of the first two lists.
《高性能MySQL》-Schema设计与数据类型优化 | harryhook's blogs
https://harryhook.github.io/2020/02/16/mysql/note-2-shcema-design/
MySQL常见的数据类型有哪些? 数据库在设计的过程中应该注意哪些地方?
LeetCode 24. Swap Nodes in Pairs | harryhook's blogs
https://www.harryhook.xyz/2020/01/15/leetcode/linkedlist/SwapPairs/
Given a linked list, swap every two adjacent nodes and return its head. You may not modify the values in the list’s nodes, only nodes itself may be changed.
MySQL 优化器与特定类型优化 | harryhook's blogs
https://harryhook.xyz/2020/03/12/mysql/note7-query-optimize2/
优化器存在哪些问题? 日常的查询需要注意哪些点?
harryhook's blogs
https://www.harryhook.xyz/about/
自我介绍 会写点代码的跑步爱好者!
MySQL 复制概述 | harryhook's blogs
https://harryhook.xyz/2020/03/21/mysql/note8-replication-basic/
复制是构建大规模、高性能应用的基础。
建造者模式 | harryhook's blogs
https://harryhook.xyz/2019/11/06/design-pattern/%E5%BB%BA%E9%80%A0%E8%80%85%E6%A8%A1%E5%BC%8F/
建造者模式让创建的流程统一, 针对不同的请求, 建造出不同的产品
LeetCde 147. Insertion Sort List | harryhook's blog
https://coderunning.fun/2020/05/12/leetcode/linkedlist/insertion-sort-list/
Sort a linked list using insertion sort.
LeetCode 23. Merge k Sorted Lists | harryhook's blogs
https://www.harryhook.xyz/2019/12/18/leetcode/linkedlist/MergeKLists/
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
B-Tree 索引和 Hash 索引 | harryhook's blogs
https://harryhook.xyz/2020/02/23/mysql/note-3-btree-and-hash/
什么是 B-Tree 索引与 Hash 索引?
复合模式 | harryhook's blog
Hexo + Github 搭建博客(Mac篇) | harryhook's blogs
https://harryhook.xyz/2020/02/18/blog/git-pages-mac/
本文教你如何利用 github pages 快速白嫖一个博客!
LeetCode 143. Reorder List | harryhook's blogs
https://coderunning.fun/2020/05/10/leetcode/linkedlist/reorder-list/
Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
B-Tree 索引实践 | harryhook's blogs
https://harryhook.xyz/2020/02/29/mysql/note4-btree-practice/
看下 B-Tree 索引在实际的数据查询中起到了什么作用。
状态模式 | harryhook's blogs
https://harryhook.xyz/2020/04/29/design-pattern/%E7%8A%B6%E6%80%81%E6%A8%A1%E5%BC%8F/
当代码中存在大量的 if…else 进行状态判断时可以考虑使用状态模式了。
单例模式 | harryhook's blog
装饰者模式 | harryhook's blogs
https://harryhook.xyz/2019/12/07/design-pattern/%E8%A3%85%E9%A5%B0%E8%80%85%E6%A8%A1%E5%BC%8F/
咖啡店中的不同咖啡, 加奶泡、加糖其实就是一种装饰者模式。
工厂方法 | harryhook's blog
LeetCode 148. Sort List | harryhook's blog
https://coderunning.fun/2020/05/13/leetcode/linkedlist/sort-list/
Sort a linked list in O(n log n) time using constant space complexity.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.