-
Rate Limiter #1 –Token Bucket Algorithm
Advantages / Disadvantages Advantages Disadvantages Implementation Implementation – Output FollowUp Question #1. Is it thread-safe? How does it handle concurrent requests? #2. Can you implement a lock-free approach for Rate Limiter? #3. How would you adapt your rate limiter to function correctly in distributed system? #4. How should you update your Rate Limiter to support Read more
-
Scalability – Harvard Web Development by David Malan
Vertical Scaling Horizontal Scaling RAID(Redundant Array of Independent Disks) Sticky Session Replication Load Balancer Redundancy Partitioning Reference Read more
-
House Robber II
Problem https://leetcode.com/problems/house-robber-ii/description/ Solution Read more
-
The Earliest Moment When Everyone Become Friends
Problem https://leetcode.com/problems/the-earliest-moment-when-everyone-become-friends/description/ Solution Notes How to sort 2D array in ascending order How to sort 2D array in descending order Read more
-
Redundant Connection
Problem https://leetcode.com/problems/redundant-connection/ Solution #1. DFS Solution #2. Union Find Read more
- AI (1)
- Algorithm (96)
- Ideas (26)
- Problems (79)
- Backtracking (12)
- Dynamic Programming (14)
- Greedy (1)
- Queue & Stack (14)
- BFS & DFS (9)
- Recursion (6)
- _Others (33)
- Blockchain (5)
- Database (1)
- DevOps (1)
- Java (40)
- Linux (1)
- Network (1)
- Operating System (2)
- Programming (1)
- Spring (9)
- System Design (24)
- Uncategorized (1)
- Web (2)
Availability (2) Binary Search Tree (2) Consistency (2) Design Doc (1) DFS (3) Durability (2) Dynamic Programming (4) Graph (7) HashMap (3) Linked List (3) List (2) Monotonic (3) MSA (2) Performance (2) Prefix Sum (4) Rate Limiter (3) Replication (2) Scalability (3) Sliding Window (8) System Design (22) Thread (2) Trie (3) Two Pointers (3) Union-Find (6) WebSocket (2) ⭐️ (6) ⭐️⭐️ (4) ⭐️⭐️⭐️ (11) ⭐️⭐️⭐️⭐️ (24) ⭐️⭐️⭐️⭐️⭐️ (41)
