📖
System Design
  • Home
  • Learn System Design Daily
  • System Design Steps
  • List of design questions:
  • My System Design Interview Checklist
  • CheatSheet
  • Programming Language Jargons
  • Scaleable Design
  • Agile Scrum
  • Uber
  • Gmail System Design
  • Distributed Rate Limiting
  • Audio Search Engine
  • Code Style and Review
  • Calling App Design
  • Low Level Design: Payment Tracking App
  • Machine Coding :Cache
  • Interview Advice
  • URL Shortner
  • Unique ID in Distributed Systems
  • Load Balancing Algorithm
  • API Architecture
  • Desgin Practise for Rest API
  • Performance Practise for API
  • API Gateway
  • API Security Hacks
  • Distributed Design Patterns
  • Fault Tolerance in Distributed Systems
  • Microservice Communication Design Patterns
  • Zipping /Compression
  • Database
  • Mongo DB
  • SQL
  • PostgreSQL
  • Database Designs
    • Designing a location based database
  • Building Database
  • Design Patterns
    • Microservice Architecture 10 Design Patterns
    • Interaction Patterns
  • Locale.ai
  • Version Control
  • Caches / Caching
  • High Level Design
  • Low Level Design
  • Containers, Docker
  • Docker
  • Linux Directories
  • Design Pattern for Software Architect
  • S.O.L.I.D Principles
  • Monitoring and Telemetry for Production System
  • C4 model
  • LRU Cache
  • VSCode
  • Chatbot Architecture
  • Streaming API Repsonse
  • Latency in System Design
  • Cloud
    • Azure
    • AWS
  • Builds
    • Jenkins
Powered by GitBook
On this page
  • LLD Questions
  • Algo Questions

Was this helpful?

Low Level Design

PreviousHigh Level DesignNextContainers, Docker

Last updated 4 years ago

Was this helpful?

LLD Questions

All LLD Questions were supposed to be written in a clean, modular, and extensible manner, with proper test cases, log messages and exception handling. Concurrency handling depends from question to question. There was no restriction on the choice of language in any company.

  1. Code a rate-limiting algorithm. The approach I proposed was similar to the leaky bucket algorithm or token bucket algorithm provided by the .

  2. In Memory

  3. Build a coffee maker machine, which has multiple ingredients and a set of beverages, which can be prepared by using these ingredients. The preparation of a beverage should be done as a transaction, with rollbacks, if a certain ingredient is not available while preparing a beverage. Ingredients can be added, and beverages can be prepared, etc. in a concurrent fashion.

Algo Questions

I am putting the questions which I can remember.

  1. Given a directed graph, a starting point, and an ending point, find critical points from all the random walks. A critical point is one where the same node is visited twice.

  2. Given a grid where points are either connected in an either horizontal or vertical manner, tell the total number of squares possible. These squares can be of multiple sizes and can be overlapping.

  3. Given a grid where there are walls in certain blocks. There are k people with their positions and a block for the meeting point. What is the overall minimum distance required to travel by all the people to reach the meeting point? What is the optimal meeting point, so that sum of distance traveled is minimum?

Guava Library
Kafka
Maximum size rectangle binary sub-matrix with all 1s
Decode a string recursively encoded as count followed by substring
Image for post
Image for post
Image for post
Image for post