vaishd.hashnode.devJs Event loop questions!!In a recent interview, my friend was asked an interesting question — and I got it wrong too at first. The trick was that async has higher priority than setTimeout. I later realized why: async returns a Promise, and Promises are handled in the microta...Nov 17, 2025·109 min read
vaishd.hashnode.devWhat happens when you type "google.com"PartSection Part 1: The Network JourneyIntroduction Part 2: The Browser's MagicThe Browser as a Mini OS Part 3: OptimizationsHow the web is optimised Bonus Topic 1**** Bonus Topic 2**** Have you ever wondered what happens when you type googl...Nov 10, 2025·20 min read
vaishd.hashnode.devLet's Explore this - File Explorer!!I was practicing for React coding rounds and encountered an interesting problem: building a File Explorer. In this blog, we'll build it step by step, just like in an interview. Expect some refactoring along the way—it's part of the process! Optimizat...Nov 6, 2025·14 min read
vaishd.hashnode.devLets reduce your search - Binary SearchThe first step in optimization always begins with reducing time complexity — and what better way to start than with an algorithm that runs in O(log n)? So lets start with Binary search !!! What is Binary Search? Binary Search is a super handy algorit...Oct 5, 2025·161 min read
vaishd.hashnode.devArrays in JAVAAn array is basically a bunch of elements of the same type, all stored together in one block of memory. A Java array is like an object that holds elements of the same data type. The elements are stored next to each other in memory. It's a way to stor...Jul 7, 2025·115 min read