Basics of LLD | UML Diagram in detail | Association Vs Aggregation Vs Composition | VERY imp!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025
  • If you are a beginner in LLD or just a beginner in software development, trust me these concepts will help you a lot!
    If you like my work, Please 𝐬𝐮𝐛𝐬𝐜𝐫𝐢𝐛𝐞 here - / keertipurswani
    You can also connect with me on-
    𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 (for personal, raw and real side of my life) - www.instagram....
    𝐓𝐰𝐢𝐭𝐭𝐞𝐫 - Ke...
    𝐋𝐢𝐧𝐤𝐞𝐝𝐈𝐧 - / keertipurswani
    #lowleveldesign #objectorientedprogramming #softwaredeveloper

ความคิดเห็น • 129

  • @KrishNamaste
    @KrishNamaste ปีที่แล้ว +12

    Dear Keerti,
    I just watched this video on LLD and UML, and I'm absolutely blown away! It was truly amazing!
    I must say your ability to simplify complex concepts and explain them with such clarity is impressive. Thanks to your captivating presentation style and visually appealing content, I was completely engaged from start to finish.
    Your enthusiasm is contagious, making the learning experience enjoyable and inspiring! Love you!

  • @manideepamara2263
    @manideepamara2263 ปีที่แล้ว +62

    Bulb has a filament --> composition
    House has a bulb --> aggregation

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว +3

      Nice! Keep going!!❤️

    • @ayushman_sr
      @ayushman_sr 3 หลายเดือนก่อน +2

      dimag batti jala di

  • @aryatech7275
    @aryatech7275 ปีที่แล้ว +42

    Request :: Make a playlist of lld for a beginner from scratch. For a student who doesn't know anything about LLD so pls structure the playlist so that we can follow that one specific playlist bcz searching for LLD on TH-cam makes it very confusing cz there is no such specific dedicated playlist from scratch to interview ready

    • @stejinstephen9591
      @stejinstephen9591 ปีที่แล้ว +1

      +1

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว +16

      That’s precisely what I am doing. Creating whole series with code, will cover a bunch of questions. If you follow this series properly, you will be an expert in LLD!

  • @gangar2728
    @gangar2728 ปีที่แล้ว +3

    This is such an awesome refresher of the key concepts, you make it so crisp and clear! Keeps one glued till the end. You're a natural teacher! Thanks so much for such great content, Keerti!🎉

  • @akshayp.y.5286
    @akshayp.y.5286 11 หลายเดือนก่อน +1

    That was crystal clear. I did't have to put in lot of effort to understand this. Thanks for this Video

  • @pavankumar-of4ew
    @pavankumar-of4ew 17 วันที่ผ่านมา +1

    for Aggregration example: laptop has an instance of table (laptop can be carried portable as well as viewed at the System table), for composition: Car has an instance of engine (car depends on engine to start or move)

  • @akhilsharma1778
    @akhilsharma1778 ปีที่แล้ว +1

    Although nobody asked, but these tutorial videos on LLD are informative and helpful. You are putting so much effort into these videos, it is fine if you put paid promotions in the videos. You are already teaching for free and if someone doesn't want to see the ads then they can skip it.

  • @Tech_Simplivity
    @Tech_Simplivity 9 วันที่ผ่านมา

    love your videos they are very simple to understand the core concepts

  • @ajayreddy9219
    @ajayreddy9219 5 หลายเดือนก่อน

    i have started going through your videos and the amount of effort you put into these videos is remarkable and we're glad we have creators like you.

  • @sidderverse
    @sidderverse 20 วันที่ผ่านมา

    Aggregation and association seem quite similar. Aggregation cases seem to be a subset of association cases. For example, Person -has a-> house can also be infered as Person -uses a-> house.
    What do you think @Keerti?

  • @raemenon6360
    @raemenon6360 11 หลายเดือนก่อน

    Thank you so much for explaining this in such an easy manner. This was much better than 1 hour of college lecture.

  • @Indian-fv8kl
    @Indian-fv8kl ปีที่แล้ว

    really really very informative video mam, i just 28 min u have covered a whole looot. Thank u so sooo much mam. You are teaching this topics far better than my professor. Love from Germany❤

  • @simransahni4656
    @simransahni4656 ปีที่แล้ว +5

    Really admire your hardwork and honesty Keerti
    Have been following you from a long time
    I am glad i saw the notification of this video earlier. Now there is a very high chance that you will read my comment! 😂
    Definitely gonna watch and learn from this.
    Thank you for putting in so much effort and giving back to the community. You are a true inspiration to all the women in tech. Best wishes! ❤
    PS: this video comes at the perfect time when i was looking to deep dive into this topic
    This will also help new developers like me.

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว +2

      Thank you so so much Simran! Your comment made my day! 🤍🤍 many more videos coming up. Hope you like them 😇😇

    • @vinamrasangal8436
      @vinamrasangal8436 4 หลายเดือนก่อน

      @@KeertiPurswani
      Keerti Purswani

  • @prakharkhandelwal9865
    @prakharkhandelwal9865 5 หลายเดือนก่อน

    awesome video, literally complex concepts are explained with such great analogies and examples. Kudos

  • @tahmad86
    @tahmad86 ปีที่แล้ว

    Hi Keerti,
    I just stumbled onto your channel and I must say I am thoroughly impressed by the quality of your contents. Awesome awesome job. Long time hardware engineer and trying to expand my sw development knowledge. Looking forward to watching all of your contents on sw development. Best of luck!!

  • @nagasatishkrishnareddynall2089
    @nagasatishkrishnareddynall2089 ปีที่แล้ว

    Such a nice refresher. Ended up using this as ref when I was asked to work on new system at work. Keep going 💪 Keerti!

  • @rex.kishore
    @rex.kishore 8 หลายเดือนก่อน

    Well cooked explanation... Loves your's energy, attitude and euphoria when your teaching and It makes me listen in a happy way...💕💕💕

  • @deltadelta666
    @deltadelta666 หลายเดือนก่อน +1

    I laughed my ass off when you gave the example for aggregation "if the person is destroyed" the house will exist 😆. Great explanation btw, you are better than most proffesors out there.

  • @LearnwithChampzz-rv4lk
    @LearnwithChampzz-rv4lk 25 วันที่ผ่านมา

    Very nice tutorial, I was invested in it fully.

  • @codecspy3479
    @codecspy3479 ปีที่แล้ว +3

    Maam while explaining association , you have told that both the classes can call each other. Can you say exactly what do you mean when you say "both the classes can call each other" . I know that one function can call another function. But what how classes call each other ??

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน +1

    12:47 Should that be written as * .. * or as 0 .. * or as 1 .. * ?

  • @VISHALSHARMA-ps4jm
    @VISHALSHARMA-ps4jm 4 หลายเดือนก่อน

    great job Keerti ... Beautifully explained

  • @LearnwithChampzz-rv4lk
    @LearnwithChampzz-rv4lk 25 วันที่ผ่านมา

    I think "Car has a tire" should be a Composite Relation Ship. Because, without tires car is not completed Just like BODY and EYE analogy.
    "Showroom has a car" sounds good for Aggregation, because without that one car, it is going to still be a showroom.
    I am seeing it this way, The one whole structure and its element in it has Composite relationship. (Mobile Phone has IC boards, Laptop has Display)
    The two different entities but still linked somehow is Aggregation relationship. (Mobile Phone has screen guard, Laptop has Monitor)

  • @yogeshdharya3857
    @yogeshdharya3857 ปีที่แล้ว

    Have heard of these composition , aggregation , etc terms countless number of times . I just want to get rid of them today !

  • @Joker-cw5hp
    @Joker-cw5hp 3 หลายเดือนก่อน

    cool very smart explanation , till best i have seen to start with lld

  • @_ipublic
    @_ipublic ปีที่แล้ว +1

    Very much beneficial❤🎉

  • @shatmanyugupta
    @shatmanyugupta ปีที่แล้ว +1

    keerti purswani has a yt channel --> Aggregation
    yt has a keerti purswani channel --> Composition

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน

    16:05 She is from Bhopal in Black dress, for those who are also residents of Bhopal. Here she explains about Aggregation vs Composition

  • @himanimishra3932
    @himanimishra3932 ปีที่แล้ว

    Great video. I just loved it. You make it so easy to understand!!!

  • @shankarbinnar2332
    @shankarbinnar2332 ปีที่แล้ว

    Thanks.. this is the new topic i learned today !! Very simple and clear explanation 👍👍

  • @AnishS-cp
    @AnishS-cp หลายเดือนก่อน

    wow this was amazing!!

  • @subrintakarmakar5436
    @subrintakarmakar5436 8 หลายเดือนก่อน

    Thanks for this video it clarifies a lot

  • @YogaJournalWithMimansa
    @YogaJournalWithMimansa 6 หลายเดือนก่อน

    Thanks Keerti for the amazing explanation! :)

  • @grid47
    @grid47 ปีที่แล้ว +1

    The music you kept at end is funny!:)

  • @jayandrapatil
    @jayandrapatil ปีที่แล้ว

    Beautiful explanation.. Keep up the good job.

  • @nisargbhagwat2039
    @nisargbhagwat2039 5 หลายเดือนก่อน

    The last explanation was amazing.
    Like if a object is used in different classes. Then it is obvious that it is aggregation. Because like if it destroyed in one class then what about other class, they are using the same object. So there will be sort of inconsistency. On other hand if One class is handling the total life cycle of another object then It is Composition.
    Please if something I have understood wrong, please correct me then.
    Thank you very much in advance.

  • @manishkumar-zz6fh
    @manishkumar-zz6fh 11 หลายเดือนก่อน

    thankyou didi. you made the concepts very clear

  • @abhaymishra8112
    @abhaymishra8112 ปีที่แล้ว

    V.Good points mentioned to differentiate Aggregation and Composition.

  • @CaptainCoder1
    @CaptainCoder1 ปีที่แล้ว

    Wall watch has hands(sec, min, hour) ==> Composition
    Table has four legs ===> Composition
    A shoe has lace ==> Aggregation
    A room has Door ==> Aggregation

  • @soumyasatish7941
    @soumyasatish7941 10 หลายเดือนก่อน

    At 26:55 'A' uses 'B' relationship should have a dotted line with an arrow instead of a triangle right? Because the triangle is for implements as is shown on the right

    • @mohithkankanala8336
      @mohithkankanala8336 7 หลายเดือนก่อน

      could you explain what the uses relationship is?

  • @yt_se_yt
    @yt_se_yt 3 หลายเดือนก่อน

    Two entities may have both composition/aggregation and inheritance behavior . eg :- Bird is-a flyable animal OR Bird has-a fly behavior . How do we decide which one to chose ?

    • @charan775
      @charan775 3 หลายเดือนก่อน

      flyable animal is not same as fly behaviour
      and any fly behaviour can be kept in flyable animal class only

    • @yt_se_yt
      @yt_se_yt 3 หลายเดือนก่อน

      @@charan775 I got you ..

    • @yt_se_yt
      @yt_se_yt 3 หลายเดือนก่อน

      @@charan775 thabks

  • @rajarayavarapu2167
    @rajarayavarapu2167 ปีที่แล้ว

    A has an instance of B means class A has a member variable of type B in a similar way what do you means A uses B or B uses A.Thanks in advance and thanku for making us grow and learn.

  • @kapilchoudhary2922
    @kapilchoudhary2922 ปีที่แล้ว

    Thanks for explaining these fundamentals clearly. 💯

  • @SumitGupta-wr3jf
    @SumitGupta-wr3jf 8 หลายเดือนก่อน

    Now the confusing part, the example you gave body and eye...Suppose Eye is removed from a person still eye can be used to other and person has house both can be considered as unrelated class that can be association

  • @InfinteMotivation
    @InfinteMotivation ปีที่แล้ว

    nice work didi :) , wish you best of luck

  • @sujeetbadnale9441
    @sujeetbadnale9441 6 หลายเดือนก่อน

    Thanks for the videos(not just this one all of your videos). Especially the examples that you gave were from real life and made sense. The video was clear and concise. I had just one about the hint that you gave which helps us decide between composition and aggregation, multiple instances of a class. So is it in simple terms if I have singleton class then it can't be a composition, did I get it right ?

  • @AkashVerma-l7y
    @AkashVerma-l7y ปีที่แล้ว

    Great Efforts .. Thanks👌

  • @sricharan4772
    @sricharan4772 ปีที่แล้ว

    Hey Keerti
    Nice content
    I have a doubt... At the end of video, when u were explaining about interfaces with Association relationship, A uses B where both A and B are interfaces
    Then the representation should be like
    A - - - - -> B
    Isn't it? U used a triangular arrow insteaad of ">" symbol
    Please clarify on this

  • @shreyasrivasatava7152
    @shreyasrivasatava7152 ปีที่แล้ว

    Nice i am loving your video tutorial.

  • @bhargavinaik8145
    @bhargavinaik8145 6 หลายเดือนก่อน

    I have a doubt, the Customer can have Orders, we can say Customer Have Orders, the relationship is composite as Order cant exist without customer. So we can say Customer is like parent for order, but the order class can have customerId so now does that mean order has customer?

  • @md-ayaz
    @md-ayaz 4 หลายเดือนก่อน

    Thank you Keerti

  • @divyareddy7622
    @divyareddy7622 ปีที่แล้ว +1

    keertiii when you give any mock questions... can you please code them in c++ as well please ❤ thank you for existing and your hardwork ❤❤❤

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน

    8:12 RBC

  • @jasleenkaursaroa
    @jasleenkaursaroa 10 หลายเดือนก่อน

    Very well explained !

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน

    26:00 Coming or Not coming --- Question

  • @shubamgoswami
    @shubamgoswami ปีที่แล้ว +1

    Binge watched the whole video 😂 I am going in love with software engineering 💗

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว

      Yaaaaaaay! That’s the best comment a teacher can get! ❤️😇

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน

    24:37 IS-A relationship for INHERITANCE

  • @realbest6528
    @realbest6528 ปีที่แล้ว +3

    very nice explanations

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว

      Thank you! Hope you subscribed and shared with your friends! ❤️😇

    • @realbest6528
      @realbest6528 ปีที่แล้ว

      I'd suggest do 1 thing for 3 months, best of the content. Not caring about subscriber count/ likes !!
      And come back to it again,
      You'll be amazed
      Anyways you're awesome 😎 thankyou 🙏

  • @akhilesh59
    @akhilesh59 ปีที่แล้ว

    Very Helpful.
    Thanks a lot :)

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน

    2:22 UML CD

  • @umdoidoai7921
    @umdoidoai7921 ปีที่แล้ว

    Great Videos, thanks !

  • @yashkaushal761
    @yashkaushal761 หลายเดือนก่อน

    It's amazing

  • @coder7078
    @coder7078 ปีที่แล้ว

    What do you mean by A uses interface B ?

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน

    23:13 Quick recap

  • @matheens6689
    @matheens6689 5 หลายเดือนก่อน

    Hi,can you make a video about logger design app in LLd and which design pattern is perfect? .really appreciate if you assist me

  • @InfinteMotivation
    @InfinteMotivation ปีที่แล้ว

    Desktop has a monitor --> aggregation
    Car has an engine --> aggregation?

  • @datta3268
    @datta3268 ปีที่แล้ว

    I am confused, would you please mind clarifying the below relationships?
    Car & Tyre => Aggregation
    same way, If a Car has a Camera, then I can say, Car & Camera => Aggregation
    And we know that Car & Camera is analogous to Body & Eye.
    If so, why Car & Camera is Aggregation but Body & Eye is Composition ? 😵‍💫

  • @nikhilagrawal9217
    @nikhilagrawal9217 ปีที่แล้ว

    Thank you for this video.

  • @NeverGiveUp_oo7
    @NeverGiveUp_oo7 ปีที่แล้ว

    Excellent 👍

  • @SahithiMangalapalli
    @SahithiMangalapalli ปีที่แล้ว

    Thank you for the video, it very helpful :)

  • @kumarsamaksha7207
    @kumarsamaksha7207 ปีที่แล้ว

    7:10 List of body parts returned.

  • @suneel8715
    @suneel8715 ปีที่แล้ว

    please make tutorial on microservices design patterns

  • @yt_se_yt
    @yt_se_yt 3 หลายเดือนก่อน

    There are some cases which are confusing .
    Eg :- In Splitwise Design
    How do we decide if User has-a Expense OR Expense has-a User ? This drives the whole flow .
    Similiar in Order Management System
    User has a Order vs Order has a User ?
    If anyone is clear on this please reply.

    • @yt_se_yt
      @yt_se_yt 3 หลายเดือนก่อน

      Or Am I confusing this with Association ?

  • @sureshmajji9629
    @sureshmajji9629 ปีที่แล้ว

    Thank you very helpful

  • @dheerajkumar824
    @dheerajkumar824 ปีที่แล้ว

    One weird thing that i noticed is that views count of stretegy video is more than that of actual implemented video. People are coming just to see how to crack interview

  • @subrintakarmakar5436
    @subrintakarmakar5436 8 หลายเดือนก่อน

    I think there is a mistake at the end A uses interface B. I may be wrong. !! Please clarify I am not able to understand the difference between A implement B and A uses interface B from the diagram time : 27.04 . I think it should be like A ....> B. Is not it.

  • @ankitadewari9071
    @ankitadewari9071 ปีที่แล้ว

    Bro! you are amazing.

  • @dheerajkumar824
    @dheerajkumar824 ปีที่แล้ว +1

    Person has a flight --- aggregation
    Flight has a seat --- composition

  • @shankysays
    @shankysays 9 หลายเดือนก่อน

    Uses, is a , has a agg, has a comp

  • @prithvirajan105
    @prithvirajan105 6 หลายเดือนก่อน

    Thank you..

  • @yusufsaifi3108
    @yusufsaifi3108 ปีที่แล้ว

    Thanks such a valuable content.

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว

      Thank you for showing up! Please do share the videos with your friends! ❤️😇

  • @cricketguru7596
    @cricketguru7596 ปีที่แล้ว

    Thank you so much for amazing content always

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว +1

      Thank you for showing up! Please do share the content with your friends! ❤️😇

  • @tresorone-e5s
    @tresorone-e5s ปีที่แล้ว

    very useful

  • @sushmareddy1370
    @sushmareddy1370 ปีที่แล้ว

    phone has operation system -> composition
    phone has sim card -> aggregation

  • @AkshaySharma-bg3oj
    @AkshaySharma-bg3oj ปีที่แล้ว

    1 sec earlier
    Mother has baby (Composition)
    baby is child of Mother (Inheritence)
    I was explaining this to my mom. Now I transitioned into Composition. Watching this from belly

  • @quadsoft7376
    @quadsoft7376 ปีที่แล้ว

    Mind blown

  • @kECAnuragPal
    @kECAnuragPal ปีที่แล้ว

    no i havent thought static

  • @tanujarora4906
    @tanujarora4906 ปีที่แล้ว

    Please make a whole playlist on LLD, they expect us to be experts in lld even with an year of experience😢

    • @KeertiPurswani
      @KeertiPurswani  ปีที่แล้ว +1

      There’s already a playlist and the number of videos are increasing with time.

  • @divyareddy7622
    @divyareddy7622 ปีที่แล้ว

    thank uuuuuuu ❤❤

  • @07bic010
    @07bic010 6 หลายเดือนก่อน

    keep doing, you mean a lot to us !!!

  • @shreyatiwari8239
    @shreyatiwari8239 5 หลายเดือนก่อน

    thanks maam

  • @tresorone-e5s
    @tresorone-e5s ปีที่แล้ว

    whats a great video

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน

    I watched this video at 0.4x speed to catch up with speed or rate of delivery of spoken words.

  • @mohamedBenthami-f4c
    @mohamedBenthami-f4c ปีที่แล้ว

    great

  • @AAKSHAS
    @AAKSHAS 4 หลายเดือนก่อน

    Voice echo present in recording which can be corrected by professional for just Rs 10k.

  • @nishantgarg2815
    @nishantgarg2815 ปีที่แล้ว +1

    19:02 that was dark

  • @SwikarP
    @SwikarP ปีที่แล้ว

    I would say reduced or stop eating sugar and carbs in your diet. Burn as much calorie for next 4 weeks. You will look slim & fit again.

  • @daggupativishal7078
    @daggupativishal7078 ปีที่แล้ว

    Crazy

  • @skalearners
    @skalearners ปีที่แล้ว

    Dependency 😢

  • @explore7792
    @explore7792 ปีที่แล้ว

    Husband --------- Wife (Aggre)
    Person ------- Aadhaar card (comp)
    😂