๐ Welcome to my Signature, a space between logic and curiosity. Iโm a Software Development Engineer who loves turning ideas into systems that work beautifully. This space captures the process: the bugs, breakthroughs, and โahaโ moments that keep me building.
Signature of Prashant Basnet
๐งฑ 1. Basic Functionfunction feature(){ return "hi" } console.log(feature()) => "hi" Everything here runs top to bottom, line by line, without interrup
When a project starts, life is simple. You know how things are wired, and adding a new feature feels effortless. But as the system grows, that mental model coll
First thing first what's difference between Design Principles vs Design Patterns?The Why?Design Principles are broad guidelines or philosophies for writing good
The Situation & Challenge:At Blueflite, drone operations platform serves multiple organizations with straightforward roles:Operators : Plan and execute ope
A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words be
Many struggle with backtracking because they confuse two fundamental patterns i.e Sequential Decision Making and Choice Generation. The Conversion Funnel: From
๐ฏ The Real Question: How do I train my brain to see patterns?here's the actual thinking process that happens in senior developers' minds:๐ STEP 1: R
1/ Why System Design? I realized that while DSA builds problem-solving skills, System Design teaches how real-world software works:ScalabilityReliabilityPerfor
Publish-Subscribe is a messaging pattern where:Publishers send messages without knowing who receives them.Subscribers listen without kn
If youโve ever built a search bar or input form that sends API calls, youโve probably heard of debounce. Or maybe youโve created a backend API then you've proba
A sort that return a specific order of the vertex of a given a graph as long as the graph satisfies certain condition. This is a simple algorithm to learn.First
All communication in distributed systems is based on explicit message exchange (sending and receiving messages).When process P wants to communicate with process
Arrays are where we start as devs. But what if I told you arrays secretly stack superpowers?Let's go beginner โ expert: mastering arrays, stacks, monotonic stac
You are given an integer array nums of size n containing each element from 0 to n - 1 (inclusive). Each of the
๐ง Why Learn This?Matrix rotation isn't just a coding interview favorite It's used in AI, ML, and image processing to manipulate data efficiently.Think:Rotating
You are given an integer array nums. The range of a subarray of nums is the difference between the largest and smallest element in the
๐ Problem Restatement (in simpler terms)You are given:A directed graph with n nodes.Each node i has a color, colors[i] โ {a-z}.Each path from one node to anoth
1๏ธโฃ Understanding the ProblemThe Decode String problem asks us to decode a string like 3[a2[c]] into accaccaccFormat: k[encoded_st
The Problem:Given an integer array nums, you need to find one continuous subarray such that if you only sort this subarray in non-decreasing orde
๐ What is RabbitMQ?In real world systems, services fail, crash, restart, or scale dynamically. You can't afford tight coupling between them. RabbitMQ ensures n
๐ The Why?Event Timeline Visibility:Think of mountains as tasks, events, or ads that want to be seen. Only those not completely covered by others are visible.U
Chapter 1: The Mysterious SlowdownAlex, a junior engineer at a fast-paced AI startup, was proud of their latest code. It processed massive datasets for a new re
Once upon a time, in a village of coders, there lived a gardener named Prashant. He had two ways of planting flowers in his garden Greedy and Non
๐ง Why Are You Learning This?The minimum-weight arborescence (MWA) problem is a fundamental problem in graph theory with applications in:Network desig
Let me walk you through the different variations of the LCA problem and how to solve each one with slight modifications to the core algorithm.1. Basic LCA Probl