Java Collections Framework-Part6 | HashSet Concept | Hands-on

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 69

  • @mukarramkhan818
    @mukarramkhan818 3 роки тому +12

    I wish I cud find you as a personal Java Trainer. I have never seen a teacher like you... You are priceless....

  • @farhadhabibullah548
    @farhadhabibullah548 3 роки тому +36

    You are a freaking legend! everything you said makes sense, your logic is very clear. you are the "go to guy" after my java class at school, you always make everything crystal clear and easy to understand. Thank you so much for your hard work.

  • @rafayrafay1319
    @rafayrafay1319 29 днів тому +1

    Only thing i want from you now is the "GOATED" DSA playlist.

  • @monatripathi7922
    @monatripathi7922 2 роки тому +2

    Thank you so much sir. There cannot be a better way to teach these concepts. I wish i could get a teacher like you in my college. You are true gem sir and your lectures are truly phenomenal. I know thanks is not sufficient to express my gratitude towards your hard work and dedication. Though putting in words- Thank you sir for everything you are doing in this direction.🙏🙏🙏

  • @deharammahesh9385
    @deharammahesh9385 4 роки тому +5

    Excellent.. the Way you explained really super and appreciated...

  • @allibillisrinivas1077
    @allibillisrinivas1077 2 роки тому +2

    Sir thanks for providing understandable collection frame wrk good teaching

  • @ravulaanusha2561
    @ravulaanusha2561 8 місяців тому +1

    Thankful and grateful for you sir for sharing your keen knowledge it was clear and concise the way you taught 👏 help many more people in future as well. I watched all your videos i got confident now in collection topic thank you once again sir!

    • @sdetpavan
      @sdetpavan  8 місяців тому

      It's my pleasure

  • @lachugaming5035
    @lachugaming5035 11 місяців тому +1

    Thankyou so much for your efforts(SIR❤)

    • @sdetpavan
      @sdetpavan  11 місяців тому

      It's my pleasure

  • @AaminaSadiya-v5e
    @AaminaSadiya-v5e 10 місяців тому +1

    Hello sir ,I am your biggest fan.I see all your videos ...its my daily duty to watch them and i learn many new things.I know i am being childish 😂please reply for my message also sir I will feel very much happy ...learnt manual testing on seeing your video sir..

  • @vyavahareaditya5936
    @vyavahareaditya5936 Рік тому +4

    Very good lecture sir , it was very understandable ❤️

  • @mudunurisaikrishnamraju5275
    @mudunurisaikrishnamraju5275 4 роки тому +2

    Thank u sir.ur teaching is so good .pls explain data structures and core java .

  • @balakumar_0606
    @balakumar_0606 Рік тому +1

    For us kindly request that you sir, please start the java+DSA course sir.

  • @mahendramithi8039
    @mahendramithi8039 4 роки тому +3

    Thanks for the Vedios Pavan Sir

  • @preetamvarun9219
    @preetamvarun9219 Рік тому +1

    Thanks for the tutorial!

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

    Thanks. very wonderful way of teaching!

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

    Very Precise Explanation !!

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

    Top Notch Content...🥳🥳🥳🥳

  • @amlam5685
    @amlam5685 4 роки тому +2

    Just Amazing

  • @rameshbangaru2710
    @rameshbangaru2710 4 роки тому +3

    Sir...interviewres asking..mostly asking HashMap and Hash table, Hashset..

  • @faridanullwaala6390
    @faridanullwaala6390 4 роки тому +2

    Wow amazing teacher you are..

  • @rameshrongala922
    @rameshrongala922 10 місяців тому +1

    Thanks sir.

  • @g.mrafed669
    @g.mrafed669 2 роки тому +1

    Excellent.

  • @gourishankar1186
    @gourishankar1186 4 роки тому +2

    Thank you! sir

  • @Aditya-kumar-129
    @Aditya-kumar-129 4 роки тому +1

    During the 30:00-35:00 interval we have printed many times and each time we get the output in sequential manner.
    Is it the coincidence or we get actually in sequential manner because in the beginning of video u tell that the sequence is not maintained in a hash

  • @fenetdamena8266
    @fenetdamena8266 Рік тому +1

    Thank you

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

    Everything is good neat and clear sir, but this "retainsAll, containsAll, removeAll" methods are available for List Interface also, because they are part of Collection Interface(So Please add this as a Note in your video Sir so that it will be helpful for us also)..!!

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

    Thank you sir.

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

    Excellent.....

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

    Thank you sir

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

    how come insertion order of the elements is preserved in Hashset? Everytime I print, it prints in same order as I inserted

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

    Sir i have a question as you said
    1. In case of ArrayList initial size is 10, when we are 11th element new ArrayList is created then what will be the size of new ArrayList, reason for asking is what will happen we try to insert 12th element into new arrayList, 12th element will be added into new arrayList or again new arrayList will be created
    2. Same question what will be size of new Hashset when load factor has reached

    • @saicharan4081
      @saicharan4081 2 роки тому +7

      Array list increase intialsize+half of its initial size. Suppose arraylist intial size 10 then 10+5(half of its initial size)=15 is the new size of arraylist.
      This is the difference between arraylist and vector. Vector increase the size double of its initial size means 10(intial size)+10(adding intial size)= 20(double of its initial size).
      Hashset also increase its double of its initial capacity when the 75% of intial capacity is filled.

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

      @@saicharan4081 Thanks for the input

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

    Thanks you so much sir

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

    how to get the particular element from the data by using set interface

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

    35:39 seconds out put the order in which u have entered in the same order v r getting

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

    load factor for arraylist is 0.75

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

    Thanks

  • @AbhiSingh-ji4ge
    @AbhiSingh-ji4ge Рік тому +2

    Please correct your video at 43 minutes. retainAll will not give intersection. ex: set1 { 1,2,3,4,5} and set2 {3,4,5,6} then set.addall(set2) will make set1 as {1,2,3,4,5,6} but set1.retainall(set2) will give {3,4,5,6} which is not an intersection between 1st set1 and set2.

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

      if you comment out the addAll code and try retainAll you will get the intersection result as shown in the video. retainAll() method retains from set1 all of its elements that are contained in the specified collection set2.

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

    If we need 100 data items . how we need to add everytime is we need to use the "add" keyword??

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

    U said hashset doesn't maintain any order but at 35 mits

  • @yogeshkuthe8920
    @yogeshkuthe8920 10 місяців тому

    Where is Stack implementation?

  • @aashiq-g6l
    @aashiq-g6l 6 місяців тому

    removeall and retainAll is not union and intersection

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

    You have missed out a type "Sorted Set" here.

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

    Hi sir plz provide pdf notes too sir 🙏