@@James-Bond-007_ not too much is remaining for broad understanding of java... Even if they only complete graphs properly it will be enough .....I don't expect them to teach multithreading and DB 🥺
@@saurabhsinghdhami1999 in dsa it's mostly graphs .... advanced topics like AVL trees B trees probably won't be covered here.....thn there is file handling, multithreading, lambda expression jdbc etc which are important....but tht won't be covered most likely either..... that's why i am saying if they only do a detailed video on graphs it is enough
NOTE: In older versions of Java (prior to Java 8), HashMap was implemented using an array of linked lists to handle collisions. Each element in the array represents a bucket, and collisions were resolved by chaining entries with the same hash code into linked lists. However, starting from Java 8, HashMap implementation has been enhanced to use a combination of linked lists and balanced binary trees for better performance in scenarios where hash collisions occur frequently. This enhancement is known as "tree bins" or "tree nodes."
Some Problems: 40:43 In rehash(), you have not update the value of N and n. N will be double because the size of bucket increases and n will be 0 because there will no element in the bucket at first. So, due to this reason the rehash() method is once called then it will run each time put() is called.
@ApnaCollege team Some minor changes are required in the rehash() method: We need to update the value of bucket size (N) to (N*2) and also reset the number of nodes(n) to 0 while initializing the new bucket in the rehash method. this.N = N*2; this.n = 0; Hope this helps! The explanation provided was thorough and insightful.
Ma'am you are teaching very well but taking too mach for creating video please. 🥺 Thoda jaldi katam kar dijiye java series lekin sub topic cover karna ma'am
Hey Shraddha, I must say you are really delivering the real knowledge for which you have spent numerous of hours(24*7*365). Thanks for the optimized content😊.. If possible can you create playlist for data structures of course it can be paid, the thing is that everyone needs to know about data structure but the optimized content is not available anywhere. Once again thanks for the knowledge, keep your parents pride of you. Good luck for future milestones...
Sir, I know you are busy in ongoing platform apnikaksha ,It is requested to you please post more lecture of this series as this is the base platform , and majority of people watching including me.
Hi mam, am BSCS student , mam I respect you , and I appreciate you for your great effort , actually I want to say : can you please upload a complete course with best practice project at Cloud computing . thank!😊, May good keep you happy always .
Thank you for the video 🥰 If video came last week might be able to clear my last round of MasterCard Interview🥲. Interviewer wants more details on HashMap . I am searching for this explanation but I am unable to find , if found unable to understood. Thank you once again for clearing confusion.
mam it's a humble request to you please make tutorial video on css and java script also of minimum 3 hour... it will be beneficial for beginners like us.
Aapka koi persanal application hai ya fir Java ki total class youtub per hi Available hai Aapke you tube channel par(apna college)par tatal classes hai Java language ki Please reply mam/sir
hey, i need your help private int searchInLL(K key, int bi) { LinkedList ll = buckets[bi]; for (int i = 0; i < ll.size(); i++) { if (ll.get(i).key == key) { return i; } } return -1; } i dont understand this part. if we are searching in a linked list, how are we directly accessing its index? and what exactly does get method imply? could you explain?
As you said, rehashing changes and increases the size of LL when we add elements which exceeds the threshold. Does it also shrink the LL decrease the value when we pop the value?
hey friend, I have also taken the alpha 2.0 course and also saw some of the youtube videos... and in opinion to me, both are same but the measure difference is that in alpha we are having a guidance for a particular path.. in youtube we always likely to mess around in different fields.
So good to see a java video after a long time.....plz complete this series fast.... it's a humble request 🥺
They will not complete any series mark my words
Until u pay?
@@James-Bond-007_ not too much is remaining for broad understanding of java... Even if they only complete graphs properly it will be enough .....I don't expect them to teach multithreading and DB 🥺
@@saurabhsinghdhami1999 in dsa it's mostly graphs .... advanced topics like AVL trees B trees probably won't be covered here.....thn there is file handling, multithreading, lambda expression jdbc etc which are important....but tht won't be covered most likely either..... that's why i am saying if they only do a detailed video on graphs it is enough
Just follow love babar bhaiya he has completed all topics
Hi Di............. due to your java course series and DSA series............GOT PLACED AT 7 LPA!!!!!!!!!!! Thank you for your help
Congratulations Adi!
@@ApnaCollegeOfficial Thank you!
Hi Adi.. Can u share some tips
@@RohitVerma003 that's his secret,i don't think he will share 🤣
@@adisaxena4359 congratulations bhaiya🎉🎉
NOTE:
In older versions of Java (prior to Java 8), HashMap was implemented using an array of linked lists to handle collisions. Each element in the array represents a bucket, and collisions were resolved by chaining entries with the same hash code into linked lists.
However, starting from Java 8, HashMap implementation has been enhanced to use a combination of linked lists and balanced binary trees for better performance in scenarios where hash collisions occur frequently. This enhancement is known as "tree bins" or "tree nodes."
,
thank you so much didi aapki vajah se me java programming ki shuruaat kar paya ...basic knowledge ke liye thank u
Some Problems: 40:43
In rehash(), you have not update the value of N and n. N will be double because the size of bucket increases and n will be 0 because there will no element in the bucket at first. So, due to this reason the rehash() method is once called then it will run each time put() is called.
please tell in which line of the hashing function we have update N? ?
Nice, but we do not need to do anything with the n bcz the no of nodes will remain same as it is just get copying to newly created array/buckets.
Yes In rehash method we have to reinitialize node size as well bucket size as we are completely create new array of linkelist by copying old one.
This video bring ideas in my mind . Thank you
Thank you for coming back here🙏.. please solve more DSA questions from DATASHEET
After long wait finally HashMap video in java series 🥳
Plzz explain clear from beginner to advanced with next level explanation
Thank you Di for this video I have a lot of confusion in Hashmap but now my all doubts have cleared. Once again thank you.
Thank you very much didi
Me kab se wait kar raha tha hashmap ka
🙏🙏
Really very good video and very useful information on HashMap implementation
Thanks apna college ❤for a great lesson
@ApnaCollege team
Some minor changes are required in the rehash() method:
We need to update the value of bucket size (N) to (N*2) and also reset the number of nodes(n) to 0 while initializing the new bucket in the rehash method.
this.N = N*2;
this.n = 0;
Hope this helps!
The explanation provided was thorough and insightful.
didn't understand,... where?
@@udaykiran-zb2cd in rehashing method
@@Yash-gy3qx yes I got it now.. so update N or else it will say the same.. and update n to 0 or else put will add to previous value..
Thank You So Much for this wonderful video........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
Thank you di completed and understood so perfectly .
thanks for the hashmap tut Ma'am
I request Apna college to please continue the web development course! please!
many of us are still waiting for that!
You are the best shradha didi ☺️❤️💫
presentation and the content is of best quality :)
Thank u so much diii ❤️ for this video.... amezing video 😍
Madam g Apki har video pe smile krte huwe nazar ate ho Allah apko aisa he khush rakhy ❤
waiting for this video from a very long time .. thank you very much
Ma'm we are eagerly waiting for more videos for this playlist
should we add this line to the rehash function??
this.N = 2*N;
Mam it's a nice explanation please make a video on a trie data structures
Thanks you Apna College❣️❣️
Thank god apko yaad aa hi gya ki video bhi banani h
I don't how to solve coding problem in exam what to-do.... Plz tell me easy process. Now i am in 12 class .
Really I am your big fan sister
Salute to didi ,She is giving her 100% to the students! A BIG thanks to uh didi:)
Easy concept made too complex....We can't come at your level of understanding and hence we are not able to understand the concept
Ma'am you are teaching very well but taking too mach for creating video please. 🥺 Thoda jaldi katam kar dijiye java series lekin sub topic cover karna ma'am
This video deserves millions of likes I am quite shock why only 3 k
Hey Shraddha, I must say you are really delivering the real knowledge for which you have spent numerous of hours(24*7*365). Thanks for the optimized content😊..
If possible can you create playlist for data structures of course it can be paid, the thing is that everyone needs to know about data structure but the optimized content is not available anywhere.
Once again thanks for the knowledge, keep your parents pride of you. Good luck for future milestones...
Please do some video in eng or add subtitles it help more students
Sir, I know you are busy in ongoing platform apnikaksha ,It is requested to you please post more lecture of this series as this is the base platform , and majority of people watching including me.
All daa concept in depth
Hi mam, am BSCS student , mam I respect you , and I appreciate you for your great effort , actually I want to say : can you please upload a complete course with best practice project at Cloud computing . thank!😊, May good keep you happy always .
DIDI is BACK 🌟🌟🌟
Thank u so much Ma'am for this knowledge......😊
Thank you for the video 🥰
If video came last week might be able to clear my last round of MasterCard Interview🥲. Interviewer wants more details on HashMap . I am searching for this explanation but I am unable to find , if found unable to understood. Thank you once again for clearing confusion.
Ahaa kya video hai zabardast!!
my favourite dede love from nepal....🥰🥰
Thnku dii💝
Please upload all remaining videos as fast as possible. Please please 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@@saurabhsinghdhami1999 graph ,dp , segment tree
Thank you shradha didi for this video.
Bahot jyada wait kr liya tha iska
Ye kaisa sawal h bro
Tum konsi class me ho
Batooo bhai
2nd year Computer Science
Waise to aata h ye mujhe pr thoda revision chahiye tha😅😅
Coding queen 👑 Shraddha Didi ❤️
Yes didi please complete this course we have our placement Going on
Thank you didi 😇
Di after many time we forget the things so please upload lecture early as possible please
keep uploading video regularly plzzz
Bounce Back! ❤️
mam it's a humble request to you please make tutorial video on css and java script also of minimum 3 hour... it will be beneficial for beginners like us.
alreeady made...go through in this channel under web development
Make a video of graphs ...and upload video regularly...we are waiting for your video
CODING QUEEN= SHRADDHA DI
Agree People hit like
didi ap apna channel kholo na kab tak asa karoge
u are the best
she is co-founder of apna college dude!
Yes please apna channel kholo didi 🙏🙏🙏🙏🙏🙏🙏🙏🙏❤️
@@dhritimanchanda1183 what do you mean?
Hello Didi,
It’s my humble request for you to please upload a detailed python course from beginner ti advanced please di I hope you will
Thank you 😊
Didi please do a video on aeronautical & aerospace engineering
waiting eagerly
Plz complete this series...
Aapka koi persanal application hai ya fir Java ki total class youtub per hi
Available hai
Aapke you tube channel par(apna college)par tatal classes hai Java language ki
Please reply mam/sir
So sweets video
Amazing mam
very nice and optimize content , really amazing
plz complete full dsa using java
Anyone from Maharashtra who known as मराठी 🚩
I follow you from 9 class🤗🤗
please make courses on algorithms and data structures in java. I really need those courses
hello diiii i am totally happy to study with you so plzz i requested i want a full video of leetcode
Then till keep learning and keep exploring 🙂
Amazing
C++ implementation kaise hota hai?
Plzz make a more videos on coding like python ,php , javascript, advanced Java.
Just specify the Node type while attaching LL with buckets. it will fix the warnings.
hey, i need your help
private int searchInLL(K key, int bi) {
LinkedList ll = buckets[bi];
for (int i = 0; i < ll.size(); i++) {
if (ll.get(i).key == key) {
return i;
}
}
return -1;
}
i dont understand this part. if we are searching in a linked list, how are we directly accessing its index? and what exactly does get method imply? could you explain?
Mam Please 1 Project with frontity with Wordpress.
Didi Java pe full course banayenge na . playlist wise.
Bhai one shote vedio already hai
Chapter wise bhi hai check playlist
As you said, rehashing changes and increases the size of LL when we add elements which exceeds the threshold. Does it also shrink the LL decrease the value when we pop the value?
34:00 summary of put()
mam ap lyeh likhne ke liye konsi application use kar rahay hain
Ma'am Android development ka bhi basic to advance koi course (paid or free) nikalo
Thank you
Love u di😍😍😍
Thank you mam. 🥰🥰💞🙏
Didi Course Complete kar do jaldi ..☺️
Nice 👍🙂
Data structure ka Playlists chaiye
I have take alpha course. What is difference between alpha and UA-cam videos
hey friend, I have also taken the alpha 2.0 course and also saw some of the youtube videos... and in opinion to me, both are same but the measure difference is that in alpha we are having a guidance for a particular path.. in youtube we always likely to mess around in different fields.
Didi python sikh ne ke liye kinsa best hai vs code ya pycharm
Aur agar yaha pe python sikha hai toh please tell me konsa best hai
pycharm is good for python code
Hey Teacher, as a first year Btech student, which books should I go for
For Java you can go with : Core Java by Rashmi Kanta Das
For DSA: You can Start with DSA made Easy by Narshimha Karumanchi , Best of luck :)
I joined your telegram channel
Didi rehash function me N kee value update bhi krni padegi i.e. N*=2
Mam python ka bhi course lijiye na
Which topics of Java are considered in both Core and Advanced Java ??
Di please node.js bata do kahan se seekhun🙏🏽
Didi please complete the whole syllabus 🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽
pep coding is a legend
Please di upload all java video as soon as possible.
Awesome 👌
C++ vs Java which is best for high package
it depends but i recommend you to go for java because you can do DSA as well as Development
Important - mam maine C C++ java kiya hai.. to sirf isspar job milta h kya.
I think there is one minor error in the rehash function, we should also update the value of N (bucketsize) in the rehash function as well
Yes
@@ApnaCollegeOfficial pls complete the whole series
Yes bro you have eagle eyes 👁️👁️👁️ and concentrate on lectures like paid course👍👍👍