摘要:
// 创建型 1. Factory method / Static Factory: https://www.cnblogs.com/zhangwanying/p/15195606.html 2. Abstract Factory 3. Builder 4. ProtoType 5. Singlet 阅读全文
摘要:
Hash Table: Two Pointers: https://www.cnblogs.com/zhangwanying/p/14913352.html Binary Search: Array: String: DP: DFS: BFS: Tree: Binary Search Tree: B 阅读全文
摘要:
【Leetcode周赛】比赛目录索引 (一般10个contest写一个文章) 阅读全文
摘要:
Kickstart 2018 All Rounds 阅读全文
摘要:
leetcode 我的题解按照 tag 分类文章索引 阅读全文
摘要:
Mysql 分布式集群学习笔记 阅读全文
摘要:
链接:https://leetcode.com/contest/weekly-contest-262 T1: 2032. Two Out of Three https://leetcode.com/problems/two-out-of-three/ 思路:无 T2: 2033. Minimum O 阅读全文
摘要:
什么是静态工厂 我们一般来说使用 new 来创建一个对象,在实际的开发中,还可以通过一个静态方法来提供一个类的instance。 1 // constructor 2 Fragment fragment = new MyFragment(); 3 // or 4 Date date = new Da 阅读全文
摘要:
背景 本笔记来自于狂神说JUC笔记。 B站link: https://www.bilibili.com/video/BV1B7411L7tE 什么是JUC java.util.concurrent java.util.concurrent.atomic java.util.concurrent.lo 阅读全文
该文被密码保护。 阅读全文
摘要:
[3] Longest Substring Without Repeating Characters (2021-Jun-21) Given a string s, find the length of the longest substring without repeating characte 阅读全文
摘要:
1NF:https://www.youtube.com/watch?v=7Kc-W295QtA 2NF:https://www.youtube.com/watch?v=3qYBXOAws8U 3NF:https://www.youtube.com/watch?v=DjxqG-3bJp8 阅读全文
摘要:
1. 如果返回值是 int[], 那么可以这么初始化: return new int[]{ele1, ele2,...}; 2. 如果需要返回Exception, we can use IllegalArgumentException. 阅读全文
摘要:
https://spring.io/guides#getting-started-guides 1. Building a RESTful Web Service https://spring.io/guides/gs/rest-service/ keywords: pom.xml, @RestCo 阅读全文