Posts
All the articles I've posted.
-
LeetCode 297 Serialize and Deserialize Binary Tree
Solutions for LeetCode 297, hard, tags: string, tree, binary tree, design, dfs, bfs.
-
System Design - How Vectorized Query Execution Works
How vectorized query execution works in modern databases: the Volcano model's limitations, batch-at-a-time processing, columnar memory layout, SIMD exploitation, and source code walkthrough from DuckDB and Apache DataFusion.
-
LeetCode 34 Find First and Last Position of Element in Sorted Array
Solutions for LeetCode 34, medium, tags: array, binary search.
-
System Design - How Raft Consensus Works
How the Raft consensus algorithm works: leader election, log replication, safety guarantees, membership changes, and a source code walkthrough from etcd's raft library.
-
LeetCode 102 Binary Tree Level Order Traversal
Solutions for LeetCode 102, medium, tags: tree, breadth-first search, depth-first search, binary tree.
-
LeetCode 402 Remove K Digits
Solutions for LeetCode 402, medium, tags: string, stack, monotonic stack, greedy.