Posts
All the articles I've posted.
-
LeetCode 451 Sort Characters By Frequency
Solutions for LeetCode 451, medium, tags: hash table, string, sorting, heap, bucket sort.
-
System Design - How Hardware Interrupts and Trap Handling Work
How hardware interrupts work: the interrupt lifecycle from electrical signal to handler execution, IDT, IRQs, top-half/bottom-half processing, and a Linux kernel source code walkthrough.
-
LeetCode 2130 Maximum Twin Sum of a Linked List
Solutions for LeetCode 2130, medium, tags: linked list, two pointers, stack.
-
LeetCode 442 Find All Duplicates in an Array
Solutions for LeetCode 442, medium, tags: array, hash table.
-
LeetCode 930 Binary Subarrays With Sum
Solutions for LeetCode 930, medium, tags: array, hash table, sliding window, prefix sum.
-
System Design - How Database Vacuum and Garbage Collection Works
How PostgreSQL's VACUUM and garbage collection works: why MVCC creates dead tuples, the lazy vacuum and full vacuum algorithms, visibility maps, freeze maps, transaction ID wraparound, and autovacuum tuning — with source code walkthrough.