Writing / 63 entries
A public digital garden — bugs, breakthroughs, and the chaos of building things on the web.
Learn how to rotate an array efficiently using the reverse approach in Python and JavaScript with step-by-step explanation.
Learn how to reset your PostgreSQL password on Windows 10 & 11 without reinstalling. Step-by-step guide for PostgreSQL 17 users (2025).
Solve the classic Two Sum problem using brute-force and optimized hashing techniques, a must-know algorithm for coding interviews.
Learn how to efficiently find the longest substring with unique characters using sliding window and hashmap in Python and JavaScript.
How to improve performance and user experience in your web apps using JavaScript debouncing. This guide explains when, why, and how to use debounce with two interactive examples — a basic typing activity tracker and an advanced API search simulator. See how debouncing reduces unnecessary events and network requests with live demos.
Learn how Javascript Event Loop, Call Stack, Microtasks, and Macrotasks collaborate to prevent blocking, manage asynchronous tasks, and power seamless interactions on modern web applications.
Streamlining MDX blog posts with a single Node.js command
Understand how to check for a zero-sum subarray using both brute-force and prefix sum techniques, with step-by-step code in Python and JavaScript.