• 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

  • LRU Cache

    Problem https://leetcode.com/problems/lru-cache/description/ Solution 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