#Unisala universe

Unisala universe
              unisala image
Author avatar
Prashant Basnet2 days ago
Pub/Sub: The Invisible Glue That Makes Modern Apps Work

Publish-Subscribe is a messaging pattern where:Publishers send messages without knowing who receives them.Subscribers listen without kn

4 min read·General
Article cover
Author avatar
Brain Dump2 days ago
Snowflake Curated Question Set : Leetcode

High Frequency Problems (Sorted by Frequency)https://unisala.com/llm/conversation/87DITfU?leafId=3676cfa1-37c8-4168-8211-df0cd93d07d7🟢 Easy Problems202. Happy

3 min read·General
Article cover
Author avatar
Anonymous UserJun 3, 2025
hi

hi

1 min read·General
Author avatar
Prashant BasnetMay 29, 2025
Understanding Debounce vs Throttle

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

3 min read·General
Article cover
Author avatar
Brain DumpMay 29, 2025
🔗 LeetCode JavaScript Questions (with links)

List of question to upgrade your javascript skill.3373. Maximize the Number of Target Nodes After Connecting Trees II2618. Check if Object Instance of Class2619

2 min read·General
Author avatar
Anonymous UserMay 27, 2025
Reorganize String | Two adjacent characters are not the same.

Given a string s, rearrange the characters of s so that any two adjacent characters are not the same.Return any possible rearrangement of&nb

3 min read·General
Article cover
Author avatar
Prashant BasnetMay 26, 2025
Kahn's Algorithm | Topological Sort | Graph Cycle Detection

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

5 min read·General
Article cover
Author avatar
Prashant BasnetMay 26, 2025
CSCE-533 | Message passing based IPC

All communication in distributed systems is based on explicit message exchange (sending and receiving messages).When process P wants to communicate with process

3 min read·General
Article cover
Author avatar
Brain DumpMay 26, 2025
Linear Regression

A example of linear regression:1.Statistical assumptions:Underlying trend is linearData deviations from predicted values are Gaussian.B/c above, MSE cost functi

2 min read·General
Author avatar
Brain DumpMay 26, 2025
Spiking Neurons vs traditional artificial neurons.

Spiking Neurons vs traditional artificial neurons.Spiking neurons:Computational neuron models that mimic the biological neurons more closely than traditional ar

1 min read·General
Article cover
Author avatar
Anonymous UserMay 26, 2025
Mean Time To Failure | MTTF

MTTF (Mean Time To Failure) is a reliability measure used to quantify the dependability of computer systems and components.Definition and UsageMTTF represents t

5 min read·General
Article cover
Author avatar
Anonymous UserMay 22, 2025
🚀 Rate Limiting: From Basic to Production Grade Implementations

A deep dive into different ways to implement rate-limiting in JavaScript, comparing tradeoffs and use cases. Let's explore 5 approaches! 🧵👇1️⃣ Basic Rate-Limi

1 min read·General
Author avatar
Prashant BasnetMay 19, 2025
Data Structures Based on Array

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

6 min read·General
Article cover
Author avatar
Prashant BasnetMay 17, 2025
Think Like an Engineer: Optimize Swaps with Cycle Insight | Sort Array | Moving Items to Empty Space

You are given an integer array nums of size n containing each element from 0 to n - 1 (inclusive). Each of the

4 min read·General
Article cover
Author avatar
Prashant BasnetMay 17, 2025
Matrix Rotation: A Must-Know for Devs & ML Engineers

🧠 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

3 min read·General
Article cover
Author avatar
Prashant BasnetMay 17, 2025
From Brute Force to Optimal: Subarray Ranges Explained via Monotonic Stacks 🔥

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

5 min read·General
Article cover
Author avatar
Prashant BasnetMay 9, 2025
Largest Color Value in a Directed Graph

🔁 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

4 min read·General
Article cover
Author avatar
Prashant BasnetApr 29, 2025
Decode String Problem: Mastering Stacks for Nested String Parsing

1️⃣ Understanding the ProblemThe Decode String problem asks us to decode a string like 3[a2[c]] into accaccaccFormat: k[encoded_st

4 min read·General
Article cover
Author avatar
Prashant BasnetApr 24, 2025
Shortest Unsorted Continuous Subarray

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

3 min read·General
Article cover
Author avatar
Prashant BasnetApr 22, 2025
Building a Resilient Task Queue System 📨 with RabbitMQ, Flask & Python 🐍

🐇 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

4 min read·General
Article cover
Author avatar
Prashant BasnetApr 22, 2025
Finding the Number of Visible Mountains

🌍 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

5 min read·General
Article cover
Author avatar
Brain DumpApr 21, 2025
Number of Islands | DFS vs BFS

🌊 The ProblemWe have a 2D map grid filled with '1's land and '0's water. An island is a group of connected '1's (horizontally or verti

2 min read·General
Article cover
Author avatar
Prashant BasnetApr 7, 2025
Loop Order in 2D Arrays | The Case of the Slow Matrix: A Developer’s Mystery 🔍

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

3 min read·General
Article cover
Author avatar
Prashant BasnetMar 27, 2025
The Greedy Gardener: A Simple Tale of Algorithms

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

3 min read·General
Article cover
Author avatar
Prashant BasnetMar 26, 2025
Minimum Weight Arborescence | CSCE 500 | Project 5

🧠 Why Are You Learning This?The minimum-weight arborescence (MWA) problem is a fundamental problem in graph theory with applications in:Network desig

5 min read·General
Article cover