Posts
All the articles I've posted.
-
LeetCode 1048 Longest String Chain
Solutions for LeetCode 1048, medium, tags: array, hash table, two pointers, string, dynamic programming.
-
LeetCode 452 Minimum Number of Arrows to Burst Balloons
Solutions for LeetCode 452, medium, tags: array, greedy, sorting.
-
System Design - How the Linux OOM Killer Works
How the Linux Out-of-Memory (OOM) Killer works: when it triggers, how it scores processes, the kill decision algorithm, cgroup-aware behavior, and a source code walkthrough from the Linux kernel.
-
LeetCode 19 Remove Nth Node From End of List
Solutions for LeetCode 19, medium, tags: linked list, two pointers.
-
System Design - How Lamport Clocks and Vector Clocks Work
How logical clocks solve the ordering problem in distributed systems: Lamport clocks, vector clocks, causal ordering, happens-before relation, and real-world usage in databases like DynamoDB, Riak, and CockroachDB.
-
LeetCode 131 Palindrome Partitioning
Solutions for LeetCode 131, medium, tags: string, dynamic programming, backtracking.