Posts
All the articles I've posted.
-
System Design - How SSDs Work Internally (NAND Flash, FTL, and Write Amplification)
How Solid-State Drives work internally: NAND flash physics, pages and blocks, the Flash Translation Layer (FTL), garbage collection, wear leveling, write amplification, TRIM, and why understanding SSDs matters for database engineers.
-
System Design - How CPU Branch Prediction Works
How modern CPUs predict branch outcomes: pipeline stalls, static vs dynamic prediction, branch history tables, two-level adaptive predictors, branch target buffers, and real-world performance implications with code examples.
-
LeetCode 71 Simplify Path
Solutions for LeetCode 71, medium, tags: string, stack.
-
LeetCode 31 Next Permutation
Solutions for LeetCode 31, medium, tags: array, two pointers.
-
LeetCode 57 Insert Interval
Solutions for LeetCode 57, medium, tags: array.
-
System Design - How JIT (Just-In-Time) Compilation Works
How JIT compilation works: interpreter warm-up, profiling, tiered compilation in the JVM HotSpot and V8 engines, inline caches, deoptimization, and source code walkthrough.