Posts
All the articles I've posted.
-
LeetCode 2 Add Two Numbers
Solutions for LeetCode 2, medium, tags: linked list, math, recursion.
-
LeetCode 45 Jump Game II
Solutions for LeetCode 45, medium, tags: array, dynamic programming, greedy.
-
System Design - How Linux cgroups Work
How Linux control groups (cgroups) work: resource isolation and limiting for processes, the filesystem interface, v1 vs v2 architecture, memory/cpu/io/pids controllers, kernel internals, OOM killer integration, and how Docker and Kubernetes use cgroups to build containers.
-
LeetCode 169 Majority Element
Solutions for LeetCode 169, easy, tags: array, hash table, divide and conquer, sorting, counting.
-
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.