Chain Of Responsibility Design Pattern | Object Oriented Design Pattern | OOPS Programming

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • This algorithms is a low level design video for Employee offer Approval from an organization and it has used the concept of Chain of responsibility (COR) design pattern to solve the problem.
    Chain of responsibility object oriented design pattern is helpful where ever we have a case, in which an object has 2 options:
    1) solve the problem an return response
    2) cannot solve problem to delegate the problem to other object of the chain which can.
    Chain should be formed with object of similar type.
    Tags:
    algorithm
    systems design
    system design interview questions
    design patterns interview questions
    cracking the coding interview
    design patterns interview questions
    software design patterns
    You can buy us a coffee at : www.buymeacoff...
    system design: • System Design | Distri...
    DS for beginners: • Arrays Data Structures...
    leetcode solutions: • Leetcode 84 | Largest ...
    github: github.com/The...
    facebook group : / 741317603336313
    twitter: / granthtech

КОМЕНТАРІ • 14

  • @ggsgetafaf1167
    @ggsgetafaf1167 Рік тому

    thank you, I hope to have more video from you

  • @teetanrobotics5363
    @teetanrobotics5363 Рік тому

    Amazing content. still waiting for the comparison video. (creational/structural/behavioral)

  • @kunal4350
    @kunal4350 2 роки тому +1

    Hey, big fan of your video.
    Please continue making this videos of LLD please
    Can you also make video on how to design correct tables with example, it will surely help people

    • @TheTechGranth
      @TheTechGranth  2 роки тому

      Do you mean table design for RDBMS?

    • @kunal4350
      @kunal4350 2 роки тому +1

      @@TheTechGranth yeah exactly . Like i was asked to design table for employee leave approval . Like for eg , employee can ask for pl,sick leave or any other leave. Depend on the leave type , manager will be ask for approval .Like for sick leave no approval needed.
      and some employee like director dont need any approval for their leave.
      was asked to design proper tables.
      this table design problem will surely help many of your subscribers
      thanks in advance

    • @TheTechGranth
      @TheTechGranth  2 роки тому

      @@kunal4350 it will be helpful if you can provide the question in details, I have anyways palnned for DB design of Zomato

  • @bijeesraj007
    @bijeesraj007 3 роки тому +1

    Excellent use case !

    • @TheTechGranth
      @TheTechGranth  3 роки тому

      Hope it was helpful. Do like and subscribe and share with your friends 🙂

    • @bijeesraj007
      @bijeesraj007 3 роки тому +1

      @@TheTechGranth is there a way to contact you (email?)

    • @TheTechGranth
      @TheTechGranth  3 роки тому

      @@bijeesraj007 thetechgranth@gmail.com

  • @praful3186
    @praful3186 3 роки тому +1

    nice explanation

    • @TheTechGranth
      @TheTechGranth  3 роки тому

      Glad it was helpful 🙂 Do like and subscribe and share with your friends 🙂

  • @ngneerin
    @ngneerin 3 роки тому +1

    Naice. Thanks. Do you have one on strategy pattern?