Posts
All the articles I've posted.
-
System Design - How Filesystem Journaling Works
How filesystem journaling works: the crash consistency problem, write-ahead logging in ext4/jbd2, journal transactions, checkpointing, ordered vs writeback vs journal modes, and a source code walkthrough from the Linux kernel.
-
LeetCode 2385 Amount of Time for Binary Tree to Be Infected
Solutions for LeetCode 2385, medium, tags: tree, depth-first search, breadth-first search, binary tree.
-
LeetCode 863 All Nodes Distance K in Binary Tree
Solutions for LeetCode 863, medium, tags: tree, DFS, BFS, binary tree.
-
System Design - How Distributed File Systems Work (GFS/HDFS)
How distributed file systems work: the architecture of Google File System and Hadoop HDFS, chunk-based storage, metadata management, replication, read/write flows, and fault tolerance — with source code references.
-
LeetCode 355 Design Twitter
Solutions for LeetCode 355, medium, tags: hash table, linked list, design, heap.
-
LeetCode 1482 Minimum Number of Days to Make m Bouquets
Solutions for LeetCode 1482, medium, tags: array, binary search.