← home

Writing / 63 entries

Code, Solutions
& Discovery.

A public digital garden — bugs, breakthroughs, and the chaos of building things on the web.

Topics · 150
↓ newest
alldsa34python29interview26leetcode22algorithms16guide11
41
Oct 1, 2025#algorithms#javascript

solve leetcode Rotate an array to the right by k steps

Learn how to rotate an array efficiently using the reverse approach in Python and JavaScript with step-by-step explanation.

42
Sep 24, 2025#PostgreSQL#PostgreSQL Password Reset

How to Reset Your PostgreSQL Password on Windows (2025)

Learn how to reset your PostgreSQL password on Windows 10 & 11 without reinstalling. Step-by-step guide for PostgreSQL 17 users (2025).

43
Sep 23, 2025#algorithms#arrays

Two Sum – Brute Force vs Hashing

Solve the classic Two Sum problem using brute-force and optimized hashing techniques, a must-know algorithm for coding interviews.

44
Sep 23, 2025#algorithms#string

Longest Substring Without Repeating Characters – Sliding Window

Learn how to efficiently find the longest substring with unique characters using sliding window and hashmap in Python and JavaScript.

45
Sep 9, 2025#JavaScript#debounce

debouncing-in-js

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.

46
Sep 9, 2025#Javascript#event-loop

Deep dive into Javascript heartbeat: queues, loops & Async

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.

47
Sep 4, 2025#nodejs#automation

Automating My MDX Blog Workflow with a Simple Node.js Script

Streamlining MDX blog posts with a single Node.js command

48
Jun 26, 2025#algorithms#arrays

Check if a Subarray with Zero Sum Exists – Prefix Sum in Action

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.

prev06 / 08next