#Unisala universe

Unisala universe
              unisala image
Author avatar
Prashant BasnetDec 31, 2025
Scaling Reads: Reducing API Latency from 4s to 40ms

Our newsfeed was taking 4 seconds to load a feed. We added a cache. Now it takes 40 milliseconds.Here's what happened.The ProblemWe ran a load test with just 50

2 min read·General
Article cover
Author avatar
Prashant BasnetDec 15, 2025
How We Scaled from 10 to 750+ Permissions Without Writing a Single Middleware Function | Metaprogramming

This thread is about auto Generating Semantic role based access control middleware  using Metaprogramming.Metaprogramming is code that writes or manipulate

3 min read·General
Article cover
Author avatar
Prashant BasnetNov 20, 2025
We Cut API Latency by 67% By Fixing One Simple Thing | Metrics Bus |

We cut our API latency by 67% and boosted throughput by 31%. We didn't change a single line of business logic. We didn't upgrade our servers. We fixed one stupi

3 min read·General
Article cover
Author avatar
Anonymous UserOct 21, 2025
Meta Frequent Top 3 Months.

Two Sum Add Two Numbers Longest Substring Without Repeating Characters Median of Two Sorted Arrays Longest Palindromic Substring String to Integer (atoi) Palind

6 min read·General
Author avatar
Anonymous UserOct 6, 2025
Amazon Most Frequent in 30 Days

Two Sum Longest Substring Without Repeating Characters Best Time to Buy and Sell Stock LRU Cache Number of Islands Reorganize String Trapping Rain Water Group A

2 min read·General
Article cover
Author avatar
No Date
few min read·General
Author avatar
Anonymous UserOct 6, 2025
Uber Frequent Questions

Text Justification Word Search Number of Islands Word Search II Basic Calculator Kth Smallest Element in a BST Number of Islands II Top K Frequent Elements Eval

2 min read·General
Article cover
Author avatar
Anonymous UserOct 6, 2025
Google 30 Day Frequent Problems

Two Sum Merge Strings Alternately Palindrome Number Trapping Rain Water Median of Two Sorted Arrays Longest Substring Without Repeating Characters 3Sum Merge So

3 min read·General
Article cover
Author avatar
Prashant BasnetOct 6, 2025
Promise In JavaScript

🧱 1. Basic Functionfunction feature(){  return "hi" } console.log(feature()) => "hi" Everything here runs top to bottom, line by line, without interrup

5 min read·General
Author avatar
Anonymous UserSep 29, 2025
Top 30 Question in Meta

Diameter of Binary TreeSimplify PathMerge Sorted ArrayValid PalindromeLRU CacheFind Peak ElementValid Palindrome IIDot Product of Two Sparse VectorsKth Largest

2 min read·General
Author avatar
Prashant BasnetSep 4, 2025
Factory Pattern: The Glue of Services, Repos, and Infra

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

3 min read·General
Article cover
Author avatar
Prashant BasnetSep 2, 2025
Design Patterns Every Developer Should Know: From Principles to Practice

First thing first what's difference between Design Principles vs Design Patterns?The Why?Design Principles are broad guidelines or philosophies for writing good

9 min read·General
Article cover
Author avatar
Prashant BasnetAug 30, 2025
200K+ Authorization Checks per sec with Graph Based RBAC and Zero DB Hits

The Situation & Challenge:At Blueflite, drone operations platform serves multiple organizations with straightforward roles:Operators : Plan and execute ope

5 min read·General
Article cover
Author avatar
Anonymous UserJun 24, 2025
LeetCode problems based on problem solving techniques

Granular breakdown by subtechnique, focusing on patterns relevant to Amazon🧠 Greedy SubpatternsGreedy for Local Min/Max122. Best Time to Buy and Sell Stock IIG

2 min read·General
Article cover
Author avatar
Anonymous UserJun 22, 2025
Top 100 Amazon LeetCode Questions by frequency

Two SumBest Time to Buy and Sell StockLRU CacheMaximum Frequency After Subarray OperationNumber of IslandsReorganize StringLongest Palindromic SubstringMaximize

2 min read·General
Article cover
Author avatar
Anonymous UserJun 22, 2025
Amazon Hard Problems sorted by frequency

Trapping Rain WaterMerge k Sorted ListsCandyMedian of Two Sorted ArraysMinimum Window SubstringBasic CalculatorLFU CacheConcatenated WordsReverse Nodes in k-Gro

1 min read·General
Article cover
Author avatar
Anonymous UserJun 22, 2025
Amazon Medium Problems sorted by frequency

LRU CacheMaximum Frequency After Subarray OperationNumber of IslandsReorganize StringLongest Palindromic SubstringMaximize Y‑Sum by Picking a Triplet of Distinc

3 min read·General
Article cover
Author avatar
Anonymous UserJun 22, 2025
Amazon Easy DS Problems sorted by frequency

Two Sum – HashMapBest Time to Buy and Sell Stock – ArraysReverse Linked List – Linked ListValid Parentheses – StackPalindrome Number – Math/StringFlood Fill – D

2 min read·General
Article cover
Author avatar
Prashant BasnetJun 21, 2025
Word Ladder | HashMap + BFS

A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words be

3 min read·General
Author avatar
Prashant BasnetJun 16, 2025
Understanding Backtracking Patterns: Sequential vs Choice Generation

Many struggle with backtracking because they confuse two fundamental patterns i.e Sequential Decision Making and Choice Generation. The Conversion Funnel: From

2 min read·General
Article cover
Author avatar
Prashant BasnetJun 15, 2025
🧠 The Thinking Evolution: From Problem to Pattern Recognition | Mental Model

🎯 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

6 min read·General
Article cover
Author avatar
Brain DumpJun 15, 2025
Popular Problems

EasyDesign Parking System (87.1%)Make Array Zero by Subtracting Equal Amounts (73.3%)Maximum Units on a Truck (74.3%)MediumLRU Cache (45.2%)Number of Islands (6

2 min read·General
Author avatar
Prashant BasnetJun 11, 2025
System Design 101: What I'm Building, Reading, and Practicing

1/ Why System Design? I realized that while DSA builds problem-solving skills, System Design teaches how real-world software works:ScalabilityReliabilityPerfor

1 min read·General
Author avatar
Prashant BasnetJun 8, 2025
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 DumpJun 8, 2025
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
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