Multiset In C++

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

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

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

    I don't know why you stop making vedio ,
    To be honest , your channel is great
    Thanks alot

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

      Thanks man.
      I don't get time, too much work now a days.
      I will start soon..

  • @treyquattro
    @treyquattro 4 ปีที่แล้ว

    I would have liked to show the difference between a set and multiset by adding e.g. {"Rupesh", 25} two or more times to the multiset example and showing that all copies were in the set, and that if you called count({"Rupesh", 25}) it would have returned a number greater than 1, whereas you will never get a number greater than one returned from the same function call on a set. Keep up the great work on STL && DS & Algorithms!

  • @carosworldofficial
    @carosworldofficial 4 ปีที่แล้ว +4

    Clear and easy to follow and understand.
    Thanks and keep it up!!!

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

      Thanks for the comment..

  • @jatu4180
    @jatu4180 2 ปีที่แล้ว

    You are a great teacher, thank you for your videos.

  • @krishnaradha87
    @krishnaradha87 3 ปีที่แล้ว

    Hi Rupesh, All the videos are easy to understand. It would have been really helpful if you add the modifiers too for the respective container as a comment . It is jus a suggestion
    Thanks.

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

    concise ... So clearly explained!

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

      Thanks..

  • @adarshjha8060
    @adarshjha8060 3 ปีที่แล้ว

    your videos are just awesome and precise love it

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      Glad you like them!

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

    It's great Channel
    Every computer science aspirant must subscribe 😎😎😎

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

      Thanks dude..

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

    Hey can you please explain what lines 36 and 37 do? the bool operator < ?

  • @성주용-r2t
    @성주용-r2t 3 ปีที่แล้ว

    좋은 자료 감사합니다>

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

    Thanks Bhaiyya, your playlist made it too easy to understand.
    Btw I like your Greaterrrrrrrrrrrrrrrrrr and shorterrrrrrrrrrrrr

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

      Most welcome 😊

  • @srijanrai770
    @srijanrai770 4 ปีที่แล้ว

    Can u suggest some other books to get more details???

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

    In "bool operator < (const Person& rhs) const {return age

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

      So we can't make change in the inner value of the class member. It's a good practice in coding.
      www.geeksforgeeks.org/const-member-functions-c/

    • @worklifeandstuff
      @worklifeandstuff 4 ปีที่แล้ว

      What is rhs btw?

    • @CppNuts
      @CppNuts  4 ปีที่แล้ว

      Right hand side.

    • @worklifeandstuff
      @worklifeandstuff 4 ปีที่แล้ว

      @@CppNuts thanks for replying but how out of nowhere it came from, I mena no previous declaration or something. Is it just the syntax?

    • @worklifeandstuff
      @worklifeandstuff 4 ปีที่แล้ว

      Okay I think I got it. It's a parameter to the function.. right? Whose Boolean value is returned in that operator.

  • @AnkurSingh-uo4vo
    @AnkurSingh-uo4vo 4 ปีที่แล้ว +2

    Are you working on the data structures and algorithms series?

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

      Yes it is started!!

    • @AnkurSingh-uo4vo
      @AnkurSingh-uo4vo 4 ปีที่แล้ว

      @@CppNuts thanks for the good content I will share this with my friends

    • @tanmaykumar6861
      @tanmaykumar6861 4 ปีที่แล้ว

      @@CppNuts can you share the link for data structures and algorithms

    • @CppNuts
      @CppNuts  4 ปีที่แล้ว

      You will get in on my channel.

  • @adarshjha8060
    @adarshjha8060 3 ปีที่แล้ว

    sir pls make video on iterators plsss

  • @karthickkumar1380
    @karthickkumar1380 3 ปีที่แล้ว

    God You;

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      Thanks dude..

  • @i.vigneshdavid1698
    @i.vigneshdavid1698 4 ปีที่แล้ว

    Is it possible to use find function?

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

    what is the mean of "rhs" in comparetor function?

    • @CppNuts
      @CppNuts  4 ปีที่แล้ว +4

      Right hand side.

  • @rahulraaghava3603
    @rahulraaghava3603 3 ปีที่แล้ว

    Can you pls tell me what is the best online resource for learning CPP in detail

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      My channel :D

  • @samparkour7082
    @samparkour7082 2 ปีที่แล้ว

    Can I please get help on this question;
    Find the number of 5-permutations of the set (∞a, ∞b, 3c)

  • @abhishekjha4261
    @abhishekjha4261 3 ปีที่แล้ว

    bool operator > {const ......... Ye line me kon sa concept use hua hai aur ye kaise work kr rha h please explain again

  • @harikeshbyrandurgagopinath2460
    @harikeshbyrandurgagopinath2460 4 ปีที่แล้ว

    Hey! Nice videos by the way. Just a small question. Which device are you using for that digital writing?

    • @CppNuts
      @CppNuts  4 ปีที่แล้ว

      It's pen tablet.

  • @sparshjain2161
    @sparshjain2161 4 ปีที่แล้ว

    HELP!!!!
    What is the concept behind initializing the data members of the object without any constructor ?

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

    if it is tree(Red Black Tree),then how it can have duplicate values?

    • @CppNuts
      @CppNuts  4 ปีที่แล้ว

      What is the problem with having duplicate value in Red Black Tree..

  • @shaikfahim1232
    @shaikfahim1232 3 ปีที่แล้ว

    bhayya do you have any c++ stl cheatsheet

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

      No

  • @biswajitsahoo1456
    @biswajitsahoo1456 3 ปีที่แล้ว

    whats your intro song

    • @CppNuts
      @CppNuts  3 ปีที่แล้ว

      Don't remember it's been so long.

  • @kamalteja843
    @kamalteja843 4 ปีที่แล้ว

    I didnt understand the line
    for(const auto&e:multiset)
    can you explain pls

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

      this is basically looping through each element in the multiset. By writing const we say we dont intend to modify the element e during this loop. and 'auto' basically autodetects the type of variable e is (which in this case is a multiset element).

  • @vaibhavjaiswal799
    @vaibhavjaiswal799 4 ปีที่แล้ว

    can anyone tell me what's the use of "const auto& object : object"

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

      if you mean inside a for(...) then it's what's called a range-based for. It says for each item in the container ("object" on the right hand side of the colon in your question) make (in this case) a read-only (const) reference to it that you can use in the loop. A typical example would be e.g.:
      struct S {string name; int score;};
      vector vec{{"a", 75}, {"b", 23}, {"c", 66}};
      for (const auto& x : v) {
      cout

  • @poxato
    @poxato 3 ปีที่แล้ว

    why are we putting const before the body of the operator function???? The program wouldn't Compile without it. I mean It works without const in non-container scenario.

    • @poxato
      @poxato 3 ปีที่แล้ว

      and the Lecture's are awesome. ^_^

  • @sapyman216
    @sapyman216 2 ปีที่แล้ว

    Why sets and multisets are called associative array? Associate to what?

  • @rudreshtripathi7152
    @rudreshtripathi7152 4 ปีที่แล้ว

    u are very repeatitive in your playlist

  • @saifullahrahman
    @saifullahrahman 3 ปีที่แล้ว

    thanks man, but the accent is so fake :)

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

      Yaa i tried asking people is this fake mostly they say no, so i keep it this way.