filmov
tv
Design a Parking Lot using Strategy Pattern in Java for Low Level Design Interviews

Показать описание
This video explains object-oriented design of a Parking Lot from list of problems on CodeZym.
It uses strategy design pattern to solve the problem.
It is a simple and easy to understand java solution for a single-threaded environment.
This question is asked in SDE-1, SDE-2 and sometimes even SDE-3/SSE interviews.
If you are preparing for Low Level Design Interviews then try CodeZym’s 7-day preparation roadmap for LLD interviews.
It has top questions from LLD interviews for machine coding practice. YouTube video tutorials explain the core features of each system and how to solve them using common design patterns like strategy, observer, factory etc.
It will help you prepare efficiently for interviews.
Problem Statement:
Write code for low level design (object oriented design) of a parking lot system.
The parking lot has two kinds of parking spaces: type = 2, for 2 wheeler vehicles and type = 4, for 4 wheeler vehicles.
There are multiple floors in the parking lot. On each floor, vehicles are parked in parking spots arranged in rows and columns.
For simplicity, lets assume that each floor will have same number of rows and each row will have same number of columns.
List of topics for this question:
design a parking lot
parking lot design
parking lot design in java
parking lot design interview
parking lot design intervew questions
parking lot
parking lot system design
parking lot lld
parking lot system design interview
parking lot machine coding
strategy patterns
strategy design pattern
low level design
object oriented design
design patterns
design patterns in java
lld system design
lld interview question
lld interview
lld & hld system design
low level system design
machine coding
machine coding round
machine coding interview
object oriented programming
It uses strategy design pattern to solve the problem.
It is a simple and easy to understand java solution for a single-threaded environment.
This question is asked in SDE-1, SDE-2 and sometimes even SDE-3/SSE interviews.
If you are preparing for Low Level Design Interviews then try CodeZym’s 7-day preparation roadmap for LLD interviews.
It has top questions from LLD interviews for machine coding practice. YouTube video tutorials explain the core features of each system and how to solve them using common design patterns like strategy, observer, factory etc.
It will help you prepare efficiently for interviews.
Problem Statement:
Write code for low level design (object oriented design) of a parking lot system.
The parking lot has two kinds of parking spaces: type = 2, for 2 wheeler vehicles and type = 4, for 4 wheeler vehicles.
There are multiple floors in the parking lot. On each floor, vehicles are parked in parking spots arranged in rows and columns.
For simplicity, lets assume that each floor will have same number of rows and each row will have same number of columns.
List of topics for this question:
design a parking lot
parking lot design
parking lot design in java
parking lot design interview
parking lot design intervew questions
parking lot
parking lot system design
parking lot lld
parking lot system design interview
parking lot machine coding
strategy patterns
strategy design pattern
low level design
object oriented design
design patterns
design patterns in java
lld system design
lld interview question
lld interview
lld & hld system design
low level system design
machine coding
machine coding round
machine coding interview
object oriented programming
Комментарии