Commit Graph

46 Commits

Author SHA1 Message Date
af12476b9d vault backup: 2026-03-08 20:39:33 2026-03-08 20:39:33 +08:00
b8b28ce850 vault backup: 2026-03-08 17:34:10 2026-03-08 17:34:10 +08:00
f956786a44 vault backup: 2026-03-08 11:38:01 2026-03-08 11:38:01 +08:00
16ae667e2b vault backup: 2026-03-08 11:33:00 2026-03-08 11:33:00 +08:00
ec78ea8752 vault backup: 2026-03-08 11:27:59 2026-03-08 11:27:59 +08:00
fabdaaee1f docs: 优化Java NIO文档图解,使用Excalidraw可视化
- 将ASCII文字图替换为专业的Excalidraw图表
- 新增4个可视化图表:三大核心组件架构、Selector多路复用模型、Buffer核心属性、零拷贝原理对比
- 图表使用配色方案区分不同组件(蓝色-Channel, 绿色-Buffer, 橙色-Selector)
- 在Obsidian中可通过![[...]]语法直接嵌入查看
2026-03-08 11:25:54 +08:00
932dc8844d vault backup: 2026-03-08 11:22:59 2026-03-08 11:22:59 +08:00
34a440b064 vault backup: 2026-03-08 11:12:59 2026-03-08 11:12:59 +08:00
04732a0119 docs: add Obsidian skills usage guide
Added comprehensive guide for Obsidian visualization skills:

**Installed Obsidian Skills:**
1. obsidian-bases - Database view management
2. obsidian-cli - Command-line operations
3. obsidian-markdown - Flavored markdown creation

**Installed Obsidian Plugins:**
Community Plugins:
- dataview - Query and visualize data
- kanban - Task board view
- calendar - Daily notes calendar
- heatmap - Activity heatmap (GitHub-style)
- obsidian-tasks-plugin - Advanced task management
- obsidian-chart - Create charts and graphs
- obsidian-advanced-slides - Presentation slides
- obsidian-git - Git version control

Core Plugins:
- canvas - Whiteboard canvas
- bases - Database views
- graph - Relationship graph
- graph-analysis - Graph analysis
- webviewer - Web content viewer

**Guide Contents:**
- Skill usage examples
- Visualization workflows
- Best practices
- Keyboard shortcuts
- Troubleshooting tips
- Integration with Claude Code

**Use Cases:**
1. Knowledge graph building with Graph + Canvas
2. Learning progress tracking with Kanban + Tasks
3. Interview preparation planning with Bases
4. Statistics visualization with Charts
5. Daily learning flow with Calendar + Heatmap

All configurations saved in .obsidian/ for automatic sync.

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:55:55 +08:00
0fbb50959e feat: add Obsidian visualization plugins and guide
Added comprehensive visualization plugins and setup guide:

**Installed Community Plugins:**
1. **Dataview** - Query and visualize data from Markdown files
   - Create tables, lists, task views
   - Filter and sort by metadata
2. **Kanban** - Task board with drag-and-drop
   - Track learning progress
   - Manage interview prep tasks
3. **Calendar** - Daily notes with calendar view
   - Track study consistency
   - Auto-generate daily journals
4. **Heatmap** - Activity heatmap (GitHub-style)
   - Visualize study frequency
   - Track learning streaks
5. **Obsidian Tasks** - Advanced task management
   - Query tasks by due date, tags, priority
   - Track overdue and upcoming tasks
6. **Obsidian Chart** - Create charts and graphs
   - Pie charts, bar charts, line charts
   - Visualize learning statistics
7. **Advanced Slides** - Create presentations
   - Build interview prep slides
   - Support for Marp.js

**Enhanced Core Plugins:**
- Enabled Graph Analysis for better relationship visualization
- Enabled Webviewer for embedded content

**Created Documentation:**
- Comprehensive installation and usage guide
- Plugin configuration examples
- Best practices for interview preparation
- Keyboard shortcuts
- Troubleshooting tips

**Use Cases:**
- Build knowledge graph with Graph View + Canvas
- Track progress with Calendar + Heatmap + Tasks
- Review problems with Dataview + Kanban
- Create presentations with Advanced Slides

All configurations saved in .obsidian/ directory for automatic sync.

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:50:03 +08:00
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
4247e0700d refactor: convert all LeetCode solutions to Go-only
Changes:
- Removed all Java code implementations
- Kept only Go language solutions
- Renamed "## Go 解法" to "## 解法"
- Removed "### Go 代码要点" sections
- Cleaned up duplicate headers and empty sections
- Streamlined documentation for better readability

Updated files (9):
- 三数之和.md
- 两数相加.md
- 无重复字符的最长子串.md
- 最长回文子串.md
- 括号生成.md
- 子集.md
- 单词搜索.md
- 电话号码的字母组合.md
- 柱状图中最大的矩形.md

All 22 LeetCode Hot 100 Medium problems now use Go exclusively.
Code is cleaner, more focused, and easier to follow.

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:32:55 +08:00
58b7491868 fix: remove remaining Java implementation sections
- Remove all "### Java 实现" sections from all markdown files
- Clean up remaining Java code blocks and references
- Ensure only Go code remains in all documentation
- Complete the Java to Go migration for all 22 files
2026-03-05 12:32:09 +08:00
15dbd75004 refactor: remove Java code sections from all LeetCode Hot 100 markdown files
- Remove all "## Java 解法" sections and Java code blocks
- Replace "## Go 解法" with "## 解法"
- Remove "### Go 代码要点" and "### Java 代码要点" sections
- Keep all Go code sections intact
- Maintain complete documentation structure and content
- Update 22 markdown files in the LeetCode Hot 100 directory
2026-03-05 12:31:48 +08:00
184f388a45 vault backup: 2026-03-05 12:28:58 2026-03-05 12:28:58 +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
e75e4778b1 feat: add 19 LeetCode Hot 100 medium problems with detailed solutions
批量生成 19 道 LeetCode Hot 100 Medium 难度题目,每道题包含:
- 题目描述和示例
- 多种解题思路(回溯、DP、双指针等)
- Go 和 Java 双语解答
- 完整的测试用例
- 复杂度分析
- 进阶问题
- P7 加分项(深度理解、实战扩展、变形题目)

新增题目:
1. 盛最多水的容器 (Container With Most Water) - LeetCode 11
2. 电话号码的字母组合 (Letter Combinations) - LeetCode 17
3. 删除链表的倒数第N个结点 - LeetCode 19
4. 括号生成 - LeetCode 22
5. 最长回文子串 - LeetCode 5
6. 子集 - LeetCode 78
7. 单词搜索 - LeetCode 79
8. 柱状图中最大的矩形 - LeetCode 84
9. 最大正方形 - LeetCode 221
10. 完全平方数 - LeetCode 279
11. 最长连续序列 - LeetCode 128
12. 除自身以外数组的乘积 - LeetCode 238
13. 最小栈 - LeetCode 155
14. 二叉树的中序遍历 - LeetCode 94
15. 二叉树的最大深度 - LeetCode 104
16. 翻转二叉树 - LeetCode 226
17. 对称二叉树 - LeetCode 101
18. 路径总和 - LeetCode 112
19. 从前序与中序遍历序列构造二叉树 - LeetCode 105

所有代码均包含:
- 清晰的注释说明
- 完整的可运行测试用例
- 时间和空间复杂度分析
- 优化技巧和变形题目

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-05 12:26:07 +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
9c9610fc60 feat: 添加简历面试题
- 项目深挖题:5个重点项目STAR法则回答,针对每个项目准备深挖问题
- 场景设计题:秒杀系统、优惠券系统、数据一致性、限流降级等设计题
- 个人发展题:职业规划、学习能力、团队协作、抗压能力、价值观
- 离职原因与动机:离职原因、择公司、职业目标、反问技巧
- 薪资谈判:谈判策略、Web3特有问题(代币激励、远程工作)、DO & DON'T

针对简历特点:
- 结合字节跳动、阿里巴巴、ThoughtWorks的项目经验
- 提供STAR法则回答模板
- 强调Web2经验向Web3的转化
- 包含大量代码示例和架构图
- 提供薪资谈判实战策略

适用场景:
- 面试前准备:项目深挖、场景设计
- 面试中:个人发展、离职原因
- 面试后:薪资谈判、offer评估
2026-03-03 00:20:12 +08:00
4fb7260c68 vault backup: 2026-03-03 00:17:29 2026-03-03 00:17:29 +08:00
be2a1cf0d7 docs: 添加Web3面试题总览文档
- 题目列表和概览
- 核心亮点总结
- 推荐学习路径(3个月)
- 面试策略和常见问题
- 快速开始指南
- 面试准备进度模板
2026-03-03 00:15:04 +08:00
67730f755f feat: 添加Web3与区块链方向面试题
- Web3基础知识:区块链、共识机制、智能合约、预言机等
- DeFi协议与AMM:Uniswap、借贷协议、流动性挖矿、闪电贷
- 智能合约安全:重入攻击、整数溢出、访问控制、前置交易
- 高并发应用:Layer2扩容、Rollup、侧链、状态通道
- Golang开发:Geth、Cosmos SDK、P2P网络、共识算法
- Layer2扩容:Optimistic Rollup、ZK-Rollup、跨链桥
- 跨链技术:HTLC、原子交换、跨链桥安全
- 简历项目迁移:Web2经验到Web3的转化路径

针对性结合候选人简历:
- 字节跳动大促活动 → Web3营销活动
- 生活服务营销表达 → DeFi收益聚合器
- 低代码平台 → Web3开发平台
- 预算管理 → DAO治理
- 策略增长 → DeFi激励机制
2026-03-03 00:14:43 +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
yasinshaw
ab3a99f131 feat: add 10 Golang interview questions
Added comprehensive Golang interview preparation materials:
- 基础语法(值类型、切片、map、defer、接口、struct、new/make)
- Goroutine 和并发模型(与线程对比、调度模型、内存模型)
- 错误处理和测试(error、panic/recover、单元测试、Benchmark)
- 并发编程进阶(Mutex、RWMutex、WaitGroup、atomic、数据竞争)
- HTTP 和 Web 开发(Client、Server、中间件模式)
- 内存模型和垃圾回收(内存分配、逃逸分析、GC)
- 性能优化(pprof、内存优化、CPU优化、并发优化)
- 反射和 unsafe(反射性能、unsafe 使用场景)
- 接口和类型系统(类型断言、interface{}、类型嵌入、泛型)
- 数据库操作(database/sql、GORM、事务、SQL 注入防护)
- 项目结构和工程化(标准项目结构、Go Module、CI/CD)

Each file includes:
- Detailed questions and comprehensive answers
- Code examples and best practices
- Alibaba P7 level requirements

Total: 60 interview questions (50 backend + 10 Golang)

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

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-01 00:16:36 +08:00
yasinshaw
0e46a367c4 refactor: rename files to Chinese and organize by category
Organized 50 interview questions into 12 categories:
- 01-分布式系统 (9 files): 分布式事务, 分布式锁, 一致性哈希, CAP理论, etc.
- 02-数据库 (2 files): MySQL索引优化, MyBatis核心原理
- 03-缓存 (5 files): Redis数据结构, 缓存问题, LRU算法, etc.
- 04-消息队列 (1 file): RocketMQ/Kafka
- 05-并发编程 (4 files): 线程池, 设计模式, 限流策略, etc.
- 06-JVM (1 file): JVM和垃圾回收
- 07-系统设计 (8 files): 秒杀系统, 短链接, IM, Feed流, etc.
- 08-算法与数据结构 (4 files): B+树, 红黑树, 跳表, 时间轮
- 09-网络与安全 (3 files): TCP/IP, 加密安全, 性能优化
- 10-中间件 (4 files): Spring Boot, Nacos, Dubbo, Nginx
- 11-运维 (4 files): Kubernetes, CI/CD, Docker, 可观测性
- 12-面试技巧 (1 file): 面试技巧和职业规划

All files renamed to Chinese for better accessibility and
organized into categorized folders for easier navigation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-01 00:10:53 +08:00
yasinshaw
fe2e6dc2f2 feat: add 50 backend interview questions and answers
Generated comprehensive interview preparation materials covering:
- Distributed systems (transactions, locks, ID generation, consistency)
- Database (indexing, sharding, replication, transactions)
- Caching (Redis, cache problems, distributed lock)
- Message queues (RocketMQ, Kafka)
- Concurrency (ThreadLocal, ConcurrentHashMap, thread pools)
- JVM (GC, memory, tuning)
- System design (seckill, short URL, IM, feed, LBS)
- Algorithms (B+ tree, LRU, Red-Black tree, Skip list, Timing wheel)
- Network (TCP/IP, HTTP/HTTPS)
- Security (encryption, SQL injection, XSS)
- Performance tuning
- Design patterns
- Microservices (Spring Boot, Gateway, Service Mesh)
- Container orchestration (Kubernetes, Docker)
- CI/CD, observability

Each file includes:
- Detailed questions
- Comprehensive answers
- Code examples
- Real project experience
- Alibaba P7 level requirements

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

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-01 00:09:50 +08:00
yasinshaw
d80d1cf553 feat: add infrastructure interview questions
Add comprehensive interview materials for:
- Service Mesh (Istio, Linkerd)
- RPC Framework (Dubbo, gRPC)
- Container Orchestration (Kubernetes)
- CI/CD (Jenkins, GitLab CI, GitHub Actions)
- Observability (Monitoring, Logging, Tracing)

Each file includes:
- 5-10 core questions
- Detailed standard answers
- Code examples
- Real-world project experience
- Alibaba P7 bonus points

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-01 00:06:28 +08:00
yasinshaw
e10105c54a docs: add comprehensive algorithms guide
- Add ALGORITHMS.md guide for algorithm and data structure preparation
- Include overview of all core algorithm topics
- Document structure and usage guide
- List related system design topics
- Provide getting started instructions

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-28 23:45:25 +08:00
yasinshaw
bb4f59a6d7 feat: add advanced algorithm and data structure interview questions
- Add B+ Tree implementation with detailed explanations and Java code
- Add LRU Cache implementation with multiple approaches
- Add Red-Black Tree implementation with rotation operations
- Add Skip List implementation with probabilistic balancing
- Add Timing Wheel algorithm for task scheduling
- Include detailed time complexity analysis and practical applications
- Add comparison with other data structures and common interview questions

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-28 23:44:18 +08:00
yasinshaw
71e3497bfd feat: add comprehensive system design interview questions
- design-seckill.md: 秒杀系统设计
- design-shorturl.md: 短链接系统设计
- design-lbs.md: LBS附近的人系统设计
- design-im.md: 即时通讯系统设计
- design-feed.md: 社交信息流系统设计

Each document includes:
- Requirements analysis and data volume assessment
- Technical challenges
- System architecture design
- Database design
- Caching strategies
- Scalability considerations
- Practical project experience
- Alibaba P7 level additional points

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-28 23:43:36 +08:00
yasinshaw
25e6afdcb7 feat: add message queue Q&A (RocketMQ/Kafka) 2026-02-28 21:10:27 +08:00
yasinshaw
3b61ef5935 feat: add MySQL index optimization Q&A 2026-02-28 21:07:32 +08:00
yasinshaw
503ac6281e feat: add Redis cache problems Q&A (penetration/breakdown/avalanche) 2026-02-28 20:54:35 +08:00
yasinshaw
fafba719fa feat: add distributed transaction Q&A 2026-02-28 20:50:13 +08:00
yasinshaw
f186d7fcf7 chore: initialize interview preparation project 2026-02-28 20:44:39 +08:00