Commit Graph

16 Commits

Author SHA1 Message Date
7aa971f511 feat: add Netty and Java NIO interview questions
Added 3 comprehensive interview documents covering Netty and Java NIO:

**1. Netty Core Principles (Netty核心原理.md)**
- Core components: Channel, EventLoop, ChannelPipeline, ByteBuf
- Reactor threading model (single/multi-threaded, master-slave)
- ByteBuf vs Java NIO ByteBuffer
- Zero-copy implementation (4 approaches)
- ChannelPipeline and ChannelHandler
- TCP sticky/unpacking problem solutions
- Heartbeat mechanism

**2. Java NIO Core Principles (Java NIO核心原理.md)**
- NIO vs BIO comparison
- Three core components: Channel, Buffer, Selector
- Selector multiplexing mechanism
- Channel vs Stream differences
- Buffer core attributes and usage
- Non-blocking I/O implementation
- Zero-copy with transferTo and MappedByteBuffer

**3. Netty Practice Scenarios (Netty实战场景.md)**
- High-performance RPC framework design
- WebSocket server implementation
- Million-connection IM system architecture
- Memory leak detection and resolution
- Graceful shutdown implementation
- Heartbeat and reconnection mechanisms

Each document includes:
- Detailed problem descriptions
- Complete code examples (Java)
- Architecture diagrams
- Best practices
- Performance optimization tips
- P7-level bonus points

Total: 3 documents, covering:
- Theoretical foundations
- Practical implementations
- Production scenarios
- Performance tuning
- Common pitfalls

Suitable for backend P7 interview preparation.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-06 10:20:11 +08:00
b773a4fa83 vault backup: 2026-03-06 10:18:18 2026-03-06 10:18:18 +08:00
f138f9649d feat: add LeetCode Hot 100 Medium problems collection
Added 22 high-frequency LeetCode Hot 100 Medium problems with detailed solutions:

**Core Problems:**
- 两数相加 (LeetCode 2) - Linked list manipulation
- 无重复字符的最长子串 (LeetCode 3) - Sliding window
- 三数之和 (LeetCode 15) - Sorting + two pointers

**Array & String:**
- 盛最多水的容器 (LeetCode 11) - Two pointers
- 最长回文子串 (LeetCode 5) - DP / expand around center
- 除自身以外数组的乘积 (LeetCode 238) - Prefix/suffix product
- 最长连续序列 (LeetCode 128) - HashSet

**Backtracking:**
- 电话号码的字母组合 (LeetCode 17) - Backtracking
- 括号生成 (LeetCode 22) - DFS
- 子集 (LeetCode 78) - Backtracking

**Linked List:**
- 删除链表的倒数第N个结点 (LeetCode 19) - Fast/slow pointers

**Binary Tree:**
- 二叉树的中序遍历 (LeetCode 94) - Recursive/iterative
- 二叉树的最大深度 (LeetCode 104) - DFS/BFS
- 翻转二叉树 (LeetCode 226) - Recursive
- 对称二叉树 (LeetCode 101) - Recursive
- 路径总和 (LeetCode 112) - DFS
- 从前序与中序遍历序列构造二叉树 (LeetCode 105) - Recursive

**Dynamic Programming:**
- 柱状图中最大的矩形 (LeetCode 84) - Monotonic stack
- 最大正方形 (LeetCode 221) - DP
- 完全平方数 (LeetCode 279) - DP

**Stack:**
- 最小栈 (LeetCode 155) - Stack design

**DFS/BFS:**
- 单词搜索 (LeetCode 79) - DFS backtracking

Each problem includes:
- Detailed problem description with examples
- Multiple solution approaches
- Go and Java implementations
- Time & space complexity analysis
- Advanced follow-up questions
- P7-level bonus points (deep understanding, real-world applications)

Total: 22 problems, 2500+ lines of content
Suitable for P7 backend interview preparation

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-05 12:26:28 +08:00
dcd3e136ec vault backup: 2026-03-05 12:23:56 2026-03-05 12:23:56 +08:00
bc0ed186c8 refactor: reorganize interview files and fix errors
Changes:
- Fixed CAP theory typo: "CP、AP、AP" → "CP、AP、CA"
- Reorganized file classifications for better structure:
  * Moved 4 database-related files from 01-分布式系统 to 02-数据库
  * Moved ConcurrentHashMap from 03-缓存 to 05-并发编程
  * Renamed 消息队列(RocketMQ_Kafka).md → 消息队列_RocketMQ_Kafka.md
- Updated project overview with new structure (73 files, 15 categories)
- Database category now has 6 files (more cohesive)
- Concurrency category now has 5 files (better organized)

File movements:
- 事务隔离级别.md: 01-分布式系统 → 02-数据库
- 数据库锁机制.md: 01-分布式系统 → 02-数据库
- 分库分表.md: 01-分布式系统 → 02-数据库
- MySQL主从延迟.md: 01-分布式系统 → 02-数据库
- ConcurrentHashMap原理.md: 03-缓存 → 05-并发编程

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-04 01:43:26 +08:00
180c558835 vault backup: 2026-03-03 20:16:26 2026-03-03 20:16:26 +08:00
bde3eb8b95 vault backup: 2026-03-03 00:37:31 2026-03-03 00:37:31 +08:00
2fc0fbccf3 vault backup: 2026-03-03 00:32:30 2026-03-03 00:32:30 +08:00
99a5bda044 vault backup: 2026-03-03 00:27:30 2026-03-03 00:27:30 +08:00
0bcdbdc2b7 vault backup: 2026-03-03 00:22:30 2026-03-03 00:22:30 +08:00
4fb7260c68 vault backup: 2026-03-03 00:17:29 2026-03-03 00:17:29 +08:00
10eb044bc5 vault backup: 2026-03-03 00:12:29 2026-03-03 00:12:29 +08:00
ee80422372 vault backup: 2026-03-03 00:07:29 2026-03-03 00:07:29 +08:00
99fee3dadd vault backup: 2026-03-02 18:46:34 2026-03-02 18:46:34 +08:00
yasinshaw
a95c605bbf refactor: 重组项目文件结构
- 将项目概述文件移至根目录
- 将算法学习指南移至 questions 目录
- 将面试准备进度移至根目录
- 删除空的 questions 文件
- 更新 Obsidian 主题配置
2026-03-02 18:14:26 +08:00
yasinshaw
7f3ab362b3 feat: rename Golang files to Chinese and supplement root files
Changes:
- Renamed all 10 Golang files from English to Chinese names
- Created 00-项目概述/项目概述.md with comprehensive project overview
- Created 08-算法与数据结构/算法与数据结构学习指南.md with detailed learning guide
- Created 12-面试技巧/面试准备进度.md with progress tracking
- Added .obsidian configuration for better markdown editing
- Updated Claude.MD with Chinese filename rule

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-01 00:33:32 +08:00