Skip to content

Vishwajeetsinh98/lld-patterns-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLD Projects

This is a place where I try out various LLD problems for practice.

Creational Patterns

  • Factory method: Notification service containing different notification types: SMS, Push, Email
  • AbstractFactory method: CloudProvider service that supports functions like VM, FileStorage, and database, from 3 cloud providers: Azure, AWS and GCP.
  • Builder: Restaurant meal order building system.
  • Prototype: Document cloning system
  • PrototypeRegistry: Shape Collection
  • Singleton: DB connection manager

Structural Patterns

  • Adapter: Media player allowing playing of wav and mp3 files using a LegacyMediaPlayer
  • Bridge: Shape rendering engine that uses Vectorized and Raster renderers
  • Composite: FileSystem implementation
  • Decorator: Coffee Shop order customization
  • Facade: Home automation system
  • Flyweight: Text Editor for large document
  • Proxy: Image loading service

Behavioral patterns

  • Chain of responsibility: Logging service with different logger types.
  • Command: Text editor insert delete undo redo
  • Iterator: Social media app with Factory, Iterator and Singleton patterns
  • Mediator: Chat room with multiple users
  • Memento: Video game state restoral
  • Observer: Stock price tick notifier
  • State: Vending machine simulator
  • Strategy: PaymentGateway with different methods
  • Template: Data analytics pipeline
  • Visitor: eCommerce order tax calculator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages