Blog
Writing
How I Think About Performance Optimization as a Backend Engineer
Why indexing alone didn't work and what I learned about N+1 queries, system behavior, and reducing database load in production.
How an SQL Query Is Actually Executed
Walking through the behind-the-scenes mechanics — parsing, logical optimization, planning, and execution.
Load Balancer
How load balancers distribute incoming requests across servers to improve performance, availability, and fault tolerance.
Database Scaling: Vertical vs Horizontal
As applications grow, database scaling becomes a critical challenge for performance, availability, and user experience.
Binary Tree Cheat Sheet
Almost every binary tree problem boils down to two fundamental techniques — DFS and BFS. A practical reference.
Longest Common Subsequence — 1D and 2D DP Approach
Comparing space-efficient 1D and traditional 2D dynamic programming approaches for solving LCS problems.
Manacher's Algorithm — Visualizing Palindromes with Mirror Sets
How symmetry and pattern reuse enable linear-time palindrome detection through mirroring strategies.
How Far Can We Go with the Longest Common Prefix Problem?
Exploring multiple algorithmic approaches and theoretical boundaries for finding common prefixes.