Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Low Level Design of Elevator System with multiple Lifts using State pattern

  • System Design and Gossip
  • 2024-01-12
  • 3095
Low Level Design of Elevator System with multiple Lifts using State pattern
Design elevator systemDesign elevator system lldelevator lld designdesign lift (elevator) systemdesign liftelevator low level designelevator low level system designlift low level designlift lldelevator lldlow level design of elevatorelevator object oriented designsystem design elevatorelevator system designstate design patternJavaMachine codinglow level designobject oriented designdesign patternsmachine coding interview
  • ok logo

Скачать Low Level Design of Elevator System with multiple Lifts using State pattern бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Low Level Design of Elevator System with multiple Lifts using State pattern или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Low Level Design of Elevator System with multiple Lifts using State pattern бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Low Level Design of Elevator System with multiple Lifts using State pattern

This video explains object-oriented design of a Elevator system with multiple lifts using state design pattern from list of problems on CodeZym.
Problem details : https://codezym.com/question/2
This question is asked in SDE-1, SDE-2 and Senior Software Engineer interviews.
This is a Java machine coding solution which is tested in a multithreaded environment on CodeZym.

Link to blog with code: https://bit.ly/41XI6CP
Feel free to reach out to me on LinkedIn: https://bit.ly/45ZeWmU

Design patterns used: Observer Design Pattern and concepts from strategy design pattern.

Write code for low level design (object oriented design) of an Elevator Management System consisting of multiple lifts.
All the lifts are in the same building which has multiple floors.

Lifts are numbered 0 to lifts-1 and floors are numbered 0 to floors -1.
In a lift, maximum 10 people can be there at a given time.

For simplicity lets assume that each lift takes exactly one second (see tick() method below) to go to next floor while coming up or going down.
Also, when a lift stops on a floor, then time taken for one or more people to come in or go out of lift is zero seconds (or 0 tick()).

You have to code below methods.

METHOD : void init(int floors, int lifts, Helper02 helper) :
Initialize/reinitialize the elevator system and reset all your instance variables.

METHOD : int requestLift(int startFloor, int destinationFloor) :
On each floor users will enter destination floor on a keypad.
startFloor is the floor user is currently at.
Your code should return lift index from 0 to lifts-1 or -1 in case none of the lifts can be assigned to user.
The Lift assigned to request must be both ELIGIBLE and MOST OPTIMAL.

METHOD : tick() :
This method is called every second so that you can appropriately update lift states

METHOD : getLiftStates() :
returns a string list of size lifts, each item representing floor and direction of lift it will be an array of Strings in below format

METHOD : getNumberOfPeopleOnLift(int liftId) :
returns how many people are on a given lift right now.

METHOD : getLiftsStoppingOnFloor(int floor, char moveDirection) :
returns list of lift indexes which are going to stop on the given floor,


List of topics for this question:

Design elevator system
Design elevator system lld
elevator lld design
design lift (elevator) system
design lift
elevator low level design
elevator low level system design
lift low level design
lift lld
low level design of elevator
elevator object oriented design
system design elevator

state design pattern
Java
Machine coding
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

Комментарии

Информация по комментариям в разработке

Похожие видео

  • Getting Started with CodeZym: using local IDE, Testing etc.
    Getting Started with CodeZym: using local IDE, Testing etc.
    1 год назад
  • 🧠 Elevator System Low-Level Design (LLD) – OOP, UML & Best Practices 📊
    🧠 Elevator System Low-Level Design (LLD) – OOP, UML & Best Practices 📊
    1 месяц назад
  • 1. Live LLD session | SOLID principles and Approach to solve Low Level Design Interview questions
    1. Live LLD session | SOLID principles and Approach to solve Low Level Design Interview questions
    2 года назад
  • Low-Level System Design of an Inventory Management System like Amazon or Zepto
    Low-Level System Design of an Inventory Management System like Amazon or Zepto
    Трансляция закончилась 2 года назад
  • Elevator System Design | Grokking the Object Oriented System Design Interview Question
    Elevator System Design | Grokking the Object Oriented System Design Interview Question
    4 года назад
  • Low level design of an ATM machine | Understand State design pattern
    Low level design of an ATM machine | Understand State design pattern
    Трансляция закончилась 9 месяцев назад
  • Роман Елизаров: Уроки Kotlin, или Зачем создавать еще один язык программирования
    Роман Елизаров: Уроки Kotlin, или Зачем создавать еще один язык программирования
    3 дня назад
  • Uber/Ola Low Level System Design explained with CODE, UML Diagram | Easy & Detailed Explanation!!
    Uber/Ola Low Level System Design explained with CODE, UML Diagram | Easy & Detailed Explanation!!
    2 года назад
  • База по оптимизации PostgreSQL: схема, индексы, чтение EXPLAIN, методы доступа и соединения, тюнинг
    База по оптимизации PostgreSQL: схема, индексы, чтение EXPLAIN, методы доступа и соединения, тюнинг
    5 месяцев назад
  • Airline Reservation System - Distributed Transactions, Serialisation, Linearisation, Consistency
    Airline Reservation System - Distributed Transactions, Serialisation, Linearisation, Consistency
    2 года назад
  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]