Introduction to Linked List | Data Structures & Algorithms | Java Placement Course

  Рет қаралды 1,561,075

Apna College

Apna College

Күн бұрын

Пікірлер: 915
@TanishJain-p9f
@TanishJain-p9f Жыл бұрын
16:20 - Insert in a Linked List (First & Last) 26:50 - Display/Print a Linked List 30:50 - Delete in a Linked List (First & Last) 38:41 - Size of a Linked List 41:01 - LinkedList class (Collections Framework) Thank You
@mdmahmudulhassan1488
@mdmahmudulhassan1488 11 ай бұрын
mam i didn't understand inside addFirst method if( head == null) here head where did it come from? please hlp me out
@ShinchanNohara-ye8hw
@ShinchanNohara-ye8hw 9 ай бұрын
​@@mdmahmudulhassan1488 watch at 28.50
@sarthakshishodia4838
@sarthakshishodia4838 9 ай бұрын
@@mdmahmudulhassan1488 Bro hmne phle hi head ko static Node declare kr dia tha ek baar dobara dekho
@dharyakushwaha7776
@dharyakushwaha7776 2 ай бұрын
​@@mdmahmudulhassan1488 While creating linked list class LL LL{ Node head; She has already created head in vedio watch carefully
@mradewan9968
@mradewan9968 Ай бұрын
💖
@rinkirathore6502
@rinkirathore6502 2 жыл бұрын
@5:45 She actually means that time complexity to "get" an element by index is O(1). While time complexity to "search" an element in an ArrayList is O(n) which is same as of linked list since we iterate over the entire list to search for a particular element.
@amitray769
@amitray769 2 жыл бұрын
Thanks Rinki.... I was thiniking the same and you clarified it.
@mdsarfarazalam8452
@mdsarfarazalam8452 2 жыл бұрын
@@amitray769 can you tell me how in "class node" node next variable written .i mean which oops concept is written here
@mdsarfarazalam8452
@mdsarfarazalam8452 2 жыл бұрын
@@amitray769 can you tell me how in "class node" node next variable written .i mean which oops concept is written here
@idraksheikh301
@idraksheikh301 2 жыл бұрын
@@mdsarfarazalam8452 Sir "Node next" will take the reference of node upcoming nodes. In runtime polymorphism we take reference of base class and use constructor of child class
@GAMEVILLA0
@GAMEVILLA0 11 ай бұрын
06:07 Linked list is a data structure that consists of nodes linked together. 12:14 Linked list is a data structure that links different data together 18:21 Linked list is a data structure in which each element is connected to the next element through a chain of pointers. 24:28 Insertion and deletion operations are key in linked lists. 30:35 Traversal and manipulation of linked lists 36:42 Two key operations in Linked List are add and delete 42:49 Linked list operations in Java 48:50 Link list in Java can be used to add, remove, and traverse elements. Crafted by Merlin AI.
@dbinod8383
@dbinod8383 2 жыл бұрын
Nice tutorial, within 48 min, got to know many of things, By which I became comfortable with linked list, Thanks Sarhda didi for making amazing explaination.
@cuteanimalvideos5936
@cuteanimalvideos5936 Ай бұрын
It's Shraddha!
@princepriyaraj6089
@princepriyaraj6089 2 жыл бұрын
This topic took me 2 days to understand nicely. Felt like a webseries. Thank you mam. Very engaging session.
@devotion_surya3741
@devotion_surya3741 2 жыл бұрын
Last few minutes and starting few minutes is a bonus knowledge for us.
@ProductivityPowerhouse0109
@ProductivityPowerhouse0109 2 жыл бұрын
These videos makes more sense to me when I forget the concepts in the middle of a problem. Best teacher💕
@rohitsamant8240
@rohitsamant8240 2 жыл бұрын
es wali video ke home work question ke Ans bhej skti ho
@mdsarfraznawaz2911
@mdsarfraznawaz2911 2 жыл бұрын
I love this channel. You are doing a noble job here. There is an enormous learning here. Again thanks.
@vijankaush7308
@vijankaush7308 Жыл бұрын
These contents are awesome. It would better if you can add English subtitles for international students like me. Cheers from Sri Lanka
@sugyanpatnaik2098
@sugyanpatnaik2098 2 жыл бұрын
Thanks for the video. It would be great if you could make a video on how to add/delete a node from the middle
@NoobCoder623
@NoobCoder623 2 жыл бұрын
Very good idea of starting linked list before binary search. Because if you study binary search first then during practising on leetcode or any platform Usually public submitted their answers in advanced form which we are unable to understand.
@ianujsharmag
@ianujsharmag 2 жыл бұрын
Mam when you smile while teaching is the best part of this video 😀😇 And your method of teaching is very good 👍
@SHTALKS
@SHTALKS 3 жыл бұрын
I am a python user but, I learn concepts of these data structures and algorithms from here, Your style of teaching is awsome, So Thank you very much, Love from pakistan
@golumaurya7441
@golumaurya7441 2 жыл бұрын
I am a python user also
@rabianahmed4409
@rabianahmed4409 2 жыл бұрын
Same here bro ♥
@rinkirathore6502
@rinkirathore6502 2 жыл бұрын
@7:40 time complexity to insert "at the start of linked list" is O(1) while the time complexity to insert at end of the list or in the middle of list is O(n) because first we have to traverse the list to reach that node after which we want to insert new node.
@firstyfirst
@firstyfirst 2 жыл бұрын
exactlyy ,
@anilptl
@anilptl 2 жыл бұрын
if you know i have one question how can we check for head ==null without declaring it to a node type t=21:21
@rajukanuri5122
@rajukanuri5122 2 жыл бұрын
@@anilptl she mentioned at last
@shrikantdewangan
@shrikantdewangan 3 жыл бұрын
We need this similar course in c++ It's better than previous one
@ѕнвнм
@ѕнвнм 3 жыл бұрын
You can learn concept from here and watch source code in cpp course. This course is almost language independent.
@ashutoshmishra3916
@ashutoshmishra3916 2 жыл бұрын
or you can refer to channel code help .......for DSA series with C++
@manishbhamare1822
@manishbhamare1822 2 жыл бұрын
Muze to bhai behen lagte ye
@sudhanshukushwaha6351
@sudhanshukushwaha6351 2 жыл бұрын
@@manishbhamare1822 🙏😂😂
@Only_reels07
@Only_reels07 Жыл бұрын
mem jab jab aapka lecture dekhta hoon mera self confidence gir jaata hai but mem aapka concept high lvl hai
@avneeshkumarmishra
@avneeshkumarmishra 3 ай бұрын
Happy teacher's day mam through you we are learning the actual technology of modern age Thankyou
@ManiacXJohan
@ManiacXJohan Жыл бұрын
Thanku mam, first you created a base of what a LInkedList is by teaching to add delete the element from scratch and then next by collection framework thanks for the efforts......
@Fitness_a2a
@Fitness_a2a 3 жыл бұрын
Apki video dekhar me coding basic puri tarha se sekh gaya thank you 🥰
@amaanullah13
@amaanullah13 2 жыл бұрын
Thankyou Ma'am for making it easy to understand. Since morning I was stuck into this topic. Onboarding to assignments now✈️
@rohitsamant8240
@rohitsamant8240 2 жыл бұрын
es wali video ke home work question ke Ans bhej skte ho
@antimuggle_ridhi2565
@antimuggle_ridhi2565 2 жыл бұрын
in the video she hasnt initialised the head variable, why is it not giving error?
@BholaSingh-m8z
@BholaSingh-m8z Жыл бұрын
your way of teaching is so good that no-one can feel bored while watching your video.
@vijaybagal712
@vijaybagal712 2 жыл бұрын
Even our teachers was not able to explain like u..👌👍🏻👍🙏
@amankumarsingh6744
@amankumarsingh6744 2 жыл бұрын
Gajab mam Saara concept clear ho gaya KOTI KOTI NAMAN HAI AAPKO
@codingnikhil4373
@codingnikhil4373 3 жыл бұрын
Best lecture in linked list
@yesrasha
@yesrasha 2 жыл бұрын
i have never been so grateful to understand hindi
@anikamboj3771
@anikamboj3771 3 жыл бұрын
2nd problem -- it,s note a proper solution but try to solve the second problem --- public class ll1 { //linkedlist Node static class Node { int data; Node next; // method for to delete a nodes whose value is greater than given value static ll.Node deletenodes(ll.Node head, int rem){ ll.Node temp,p=head; if(head==null){ return null; } while(p!=null && p.data>rem){ temp =head; head = head.next; temp.next=null; } while(p.next!=null) { if (p.next.data>rem) { // Node p = head; temp = p.next; p.next = temp.next; temp.next = null; } else p = p.next; } return head; } //function to print linkedlist static void displaylist(ll.Node head){ ll.Node temp = head; while(temp!=null){ System.out.print(temp.data +" "); temp = temp.next; } } // utility function to crete a new node static ll.Node newNode(int x){ ll.Node temp = new ll.Node(); temp.data = x; temp.next = null; return temp; } public static void main(String[] args) { //start with the empty list ll.Node head = newNode(1); head.next = newNode(2); head.next.next = newNode(3); head.next.next.next = newNode(4); head.next.next.next.next = newNode(5); head.next.next.next.next.next = newNode(6); head.next.next.next.next.next.next = newNode(7); int rem = 4; head = deletenodes(head,rem); displaylist(head); } }
@sandeepyadav3563
@sandeepyadav3563 3 жыл бұрын
Hii ,your session improve me in dry thinking, knowledge etc. Thank You , Miss
@bhaktisangeet1616
@bhaktisangeet1616 Жыл бұрын
i have tried to get it into my mind from last 4 to 5 days but not able to understand till watching before this video........ thank you so much......... i think best teacher in the coding era..... whose very much aware where students got stucked.... and knows very well how to get out of them..... again thank you so much..........
@jugadoo-bhai
@jugadoo-bhai 3 жыл бұрын
She is just like female version of Aman , same way of teaching.
@coding1415
@coding1415 3 жыл бұрын
kzbin.info/www/bejne/aKLOYn6Md5eMgtU C language
@zapeeosheikh
@zapeeosheikh 3 жыл бұрын
Agree❣️
@kirtithakur321
@kirtithakur321 3 жыл бұрын
@@coding1415 ooo wow very smart ha 😂😂😂 jitne bhi famous channels H waha apni links paste kr aao😂😂good idea.
@AkbaraliQ
@AkbaraliQ 3 жыл бұрын
Ham ye kr rhe honge, aa rhe honge, ja rhe honge 😂😂
@shemolchaudhary5807
@shemolchaudhary5807 2 жыл бұрын
@@kirtithakur321 terai ko kyu dikkat hai bsdk
@dayaramsaini2829
@dayaramsaini2829 Жыл бұрын
Great way of teaching. Touching the mind .
@unemployedcse3514
@unemployedcse3514 2 жыл бұрын
Who were thinking Node Head is not declared and why editor is not showing error 🤔🤔😊
@mayankupadhyay4447
@mayankupadhyay4447 2 жыл бұрын
Same here dude, I was thinking this whole time... it was frustrating !!!!1
@aparnamukherjee2312
@aparnamukherjee2312 2 жыл бұрын
@@mayankupadhyay4447 same here.. i was in great confusion😑
@eashitadhillon1577
@eashitadhillon1577 2 жыл бұрын
Did you figure out how to fix that?
@aparnamukherjee2312
@aparnamukherjee2312 2 жыл бұрын
@@eashitadhillon1577 just declare node head=null;
@nadeemmehraj5873
@nadeemmehraj5873 2 жыл бұрын
Check out notes
@VaidikPatel-vp47
@VaidikPatel-vp47 5 ай бұрын
Nice explanation with very ease. I have tried many videos for linked list but this is best video to learn linked list from scratch.
@pratika-prakhar
@pratika-prakhar 2 жыл бұрын
Awesome 👌 the way of your teaching is outstanding... I wathed this video yesterday ... today i code all the methods without revisit the video ... there are many videos i watched to understand the LinkedList, but this is the best out of them.
@100xDevPiyush
@100xDevPiyush Жыл бұрын
I got a little emotional such a simple explanation In my college the linked list had started before OOps and I understand nothing and this is first time got to know that there are 3 types of linked list Thank You Apna College
@salmanpandey8150
@salmanpandey8150 2 ай бұрын
In your college DSA is taught in java?
@chandansahoo466
@chandansahoo466 3 жыл бұрын
Your concept is so clear. All the very best wishes Betaa..Jio jee bharke..Am so proud of you.. Dear viewer, do not miss this video..Aap bahat aage jaaoge betaa.. keep it up 👍👍👍👍
@coding1415
@coding1415 3 жыл бұрын
kzbin.info/www/bejne/aKLOYn6Md5eMgtU C language
@SonuKumar-uq2rb
@SonuKumar-uq2rb Жыл бұрын
aapse sikne k baad dubara padne ki jarurat nhi .great
@husain_bhai0
@husain_bhai0 Жыл бұрын
Hello Aman Bhaiya, There are few more concepts that we need as in college as professional, if possible if you can make video on these concepts of Java: Java API Packages Multi threaded programming Managing Error and Exception Managing I/O Files Java Collection Applet Programming AWT Event Handling JavaFX JDBC Java Networking Thank You
@Study_time-gs7xm
@Study_time-gs7xm Жыл бұрын
Durga software se karlo
@thegamingblast6316
@thegamingblast6316 Жыл бұрын
You can learn from Smart Programming
@purnimanaskar2671
@purnimanaskar2671 8 ай бұрын
Abdul bari sir ke java course se kar sakte ho
@pritamsaini2918
@pritamsaini2918 3 жыл бұрын
everytime i watch this video ... i learn a new thing thanku dii and aman bhai
@dailycoding9845
@dailycoding9845 3 жыл бұрын
Wow nice timing di!! I'm searching for this 😊👍 Thank you so much!!!
@rirupa4930
@rirupa4930 9 ай бұрын
Hii
@manoharthanawasi
@manoharthanawasi Жыл бұрын
Time complexity for accessing array element is O(1) and for linear search it's O(n).
@shabankhan4383
@shabankhan4383 3 жыл бұрын
Cpp wale me bht easily smjh aa gya tha 😄
@vibehai846
@vibehai846 2 жыл бұрын
Masha'Allah bohot umda.
@732_dipen4
@732_dipen4 2 жыл бұрын
Your explanation is awesome 👍
@vishalbharatpatil4125
@vishalbharatpatil4125 2 жыл бұрын
Excellent Teaching Skills. By the way, can't define that you are laughing or speaking by looking you. That's a compliment. :)
@AmanRo-45
@AmanRo-45 5 ай бұрын
amazing lecture i have studied earlier but i always learn new things from your lectures
@SANDEEPKUMAR-rg4tk
@SANDEEPKUMAR-rg4tk 3 жыл бұрын
Excellent explanation,very helpfull Thanks
@vishalsoni7172
@vishalsoni7172 2 жыл бұрын
didi, i was need it with java because i am learning java for placement and you are giving java lacture and DSA using java. so thank and thanks apna college
@Somevideos12
@Somevideos12 2 жыл бұрын
Good and great teaching skill 😍
@MuskanLodhi-h1u
@MuskanLodhi-h1u Жыл бұрын
Thank you didi you are the best teacher who clear my all doubts without asking it.❤
@mranalyzer7698
@mranalyzer7698 2 жыл бұрын
Can u pls explain about asymptotic notation and time complexity. It will be helpful if u could do it.
@rajveersinghrawat3311
@rajveersinghrawat3311 3 жыл бұрын
Mam really yrr aaj tk ek bhe lecture samaj me nahi aaya linked list kaa your way of teaching is so amazing from scratch 😍 . Full of full concept clear just keep it up ☺.
@nehaaggarwal693
@nehaaggarwal693 2 жыл бұрын
Seriously means everything so well explained in detailed....superb effort.....👍
@sanchitbajaj2027
@sanchitbajaj2027 2 жыл бұрын
Seriously means very good reply....so well writtened in detailed...superb effort👍
@geetkhanna7838
@geetkhanna7838 2 жыл бұрын
👍🏾👍🏾
@anonymousncuian6586
@anonymousncuian6586 2 жыл бұрын
👍
@shwetanksudhanshu4383
@shwetanksudhanshu4383 2 жыл бұрын
The best thing is to understand using diagrams.Thankyou
@mukeshojha9318
@mukeshojha9318 3 жыл бұрын
on 20:40 from where you took the "head", is that any variable or its any inbuild keyword ?
@soumyaranjanrout964
@soumyaranjanrout964 3 жыл бұрын
Your answer is at 28:47 Check it out 🙂
@vipultyagi140
@vipultyagi140 2 жыл бұрын
@@soumyaranjanrout964 you just saved my day, dear
@kashishchoudhary4753
@kashishchoudhary4753 Жыл бұрын
This is the solution for the second question using Collection Framework Scanner sc = new Scanner(System.in); LinkedList list = new LinkedList(); System.out.println("Enter the number of elements you want to input"); int size = sc.nextInt(); System.out.println("Enter numbers from 1 to 50"); int i = 0; while (i < size) { int elem = sc.nextInt(); list.add(elem); i++; for (int j = 0; j < list.size(); j++) { if (list.get(j) >= 25) { list.remove(j); } } } System.out.println(list);
@kalpendudas1786
@kalpendudas1786 2 ай бұрын
I canot thank more for these videos. Very much interactive and informative. I would surely look forward to having some sessions on Springboot, REST
@AmitKumar-cp1oz
@AmitKumar-cp1oz 3 жыл бұрын
mam, please make sub-sections in the longer videos, easy to rewatch.
@rajkumarmaurya9635
@rajkumarmaurya9635 3 жыл бұрын
1 topic 1 video is always have good learning experience More video means distraction
@AmitKumar-cp1oz
@AmitKumar-cp1oz 3 жыл бұрын
@@rajkumarmaurya9635 no i mean like time-stamps on same video.
@mayank_singh_43
@mayank_singh_43 2 жыл бұрын
after watching this video , I fall in love with LinkedList
@akkid7666
@akkid7666 2 жыл бұрын
Thank you so much mam .I was searching for this kind of explanation and now I understand.God bless you 🙏
@CodeCraft-h6v
@CodeCraft-h6v Жыл бұрын
Really Lovely Explaination ..............................
@jyotisapkale9188
@jyotisapkale9188 3 жыл бұрын
have u provided implementation of doubly and circular linked list in your any video?
@BUILDwithMAULIK
@BUILDwithMAULIK 2 жыл бұрын
Get a good book don’t rely only on these tutorials.
@vanshmehta2890
@vanshmehta2890 2 жыл бұрын
my face in whole video 😧😧 then the video came of last five minutes got me 😌😌
@harshil178
@harshil178 Жыл бұрын
here, 20:48 if can't declare head and how can you use it???
@JyG-km9xj
@JyG-km9xj 9 ай бұрын
Declare a public node head in class ll
@rangodragon
@rangodragon 10 күн бұрын
Same question...
@gonurraviteja9016
@gonurraviteja9016 Жыл бұрын
The way of teaching the concepts is clear & excellent 👌
@aninexclusive466
@aninexclusive466 2 жыл бұрын
your teaching skill is so good! But I am struggling to understand Hindi! You can add subtitle!
@sameerfaisal3240
@sameerfaisal3240 2 жыл бұрын
My all problems are solved by Mam Sharadha, Love from pakistan
@jatinsawant7540
@jatinsawant7540 Жыл бұрын
where the head node is declared in here? I watched the starting of code and there is no head declared but then too its not throwing any errors how??
@utkrishtsneh8298
@utkrishtsneh8298 9 ай бұрын
same doubt
@luckygarg2294
@luckygarg2294 6 ай бұрын
Declared at 28:46
@o46_tauhidqureshi38
@o46_tauhidqureshi38 3 жыл бұрын
HYPNOTIZED BY YOUR MOMENTS OF HANDS..
@kunsangmoktan335
@kunsangmoktan335 2 жыл бұрын
Thank you for explaining it very well and making it clear..
@numeric_code
@numeric_code Жыл бұрын
such a greate level explenation
@someshsahu4638
@someshsahu4638 2 жыл бұрын
In line no. 14, where did the "head" come from and what it's type
@KiranBPatil-rp7wy
@KiranBPatil-rp7wy Жыл бұрын
28:47
@AshishPal-i9p
@AshishPal-i9p 4 ай бұрын
From starting i will thinking it very hard but when i complete this video i think it is not hard as compare to i think . Thanks to shradha didi
@dnyaneshwarmirkute7929
@dnyaneshwarmirkute7929 3 жыл бұрын
please provide more lectures these are really helpfull
@bharadwaj2594
@bharadwaj2594 3 жыл бұрын
finally didi is back and firsttime i understand concept and some one say me where to practice progrming qp on linked list
@ShubhamSaxena-x5u
@ShubhamSaxena-x5u Жыл бұрын
hi, wonderful playlist.....can someone please guide me with some explanation about "HEAD" & "NEXT" declared in node class
@vijaybagal712
@vijaybagal712 2 жыл бұрын
Thank did...hat's to u didi....when i was at your age not able to grasped such a valuable knowledge and presentation...👍👍🏻👌👌
@sandeep-rai07
@sandeep-rai07 2 жыл бұрын
Good explanation but I'm sure no one can implement linkdelist in real-world . Can you please also explain with some custom classes ?
@rohitdey4551
@rohitdey4551 2 жыл бұрын
Most important topic in java...POINTERS ...Pls....upload a video on this.....it will be helpful for all
@suhailashraf4208
@suhailashraf4208 2 жыл бұрын
there are no pointers in java. They are in c.....
@dhruval254
@dhruval254 2 жыл бұрын
Exactly , no pointers in java
@GhostRider....
@GhostRider.... 2 жыл бұрын
Java has reference instead of pointer
@malihahossain9450
@malihahossain9450 3 жыл бұрын
mannnnn ! I was just struggling with . I can't thank you enough for this. can you do some practice problems with the linked list. methods like removingeven indexes and create a new list with the evennodes, removing within range of two indexes. please I have a test soon. could you also cover binary trees in java.
@coding1415
@coding1415 3 жыл бұрын
kzbin.info/www/bejne/aKLOYn6Md5eMgtU C language
@abhishekkamboj7150
@abhishekkamboj7150 3 жыл бұрын
Yes problem practice is ncessasry
@pravindabhade185
@pravindabhade185 3 жыл бұрын
Train wala example for linked list is the best one. 👍
@vishalpandey5793
@vishalpandey5793 3 жыл бұрын
DII.....we need important question in Data sturucture which is most frequently ask in interview
@sundaramumarvaishya7757
@sundaramumarvaishya7757 Жыл бұрын
I watched various video but when i watch this video then i cleared my doubt thanks shradha didi
@suryanshpundir9420
@suryanshpundir9420 Жыл бұрын
Where is doubly linked list and circular?
@wardenOppp
@wardenOppp Жыл бұрын
Samaj nhi aya... Lekin sunka accha laga😊
@tusharsharma2359
@tusharsharma2359 2 жыл бұрын
where have you initialized "head"? please help someone!!!!
@rirupa4930
@rirupa4930 9 ай бұрын
Hiii
@debashishmahato4591
@debashishmahato4591 2 жыл бұрын
LinkedList explained so nicely.. got this video thankfully, :)
@Shivamyadav-ho2qi
@Shivamyadav-ho2qi 2 жыл бұрын
head is not declared initially it shows red line in my vs code ...!!!
@mdfurkaanalam5667
@mdfurkaanalam5667 Жыл бұрын
Sukriya didi kafi Acche se bataya appne is topic ko
@eedulavenkatesh-rm1gx
@eedulavenkatesh-rm1gx Жыл бұрын
Can you please share time complexity cheat sheet which includes all data structures like in linkedlist insert at beginning, insert at any position,insert at last,delete at first, delete at last,delete at middle,search,sort etc
@masoomraza5155
@masoomraza5155 3 жыл бұрын
You are a very GOOD person and always RIGHT
@nirmalsingh3212
@nirmalsingh3212 Жыл бұрын
Agar linkedlist pahle se tha to start main itna kyu karwaya interview ya placements main kaam aata hai kya
@pawanrajput9451
@pawanrajput9451 2 жыл бұрын
Thank u so much dii The way of teaching is really exceptional
@studyfaby24
@studyfaby24 Жыл бұрын
Muchas gracias agradeceria por favor si pondrian subtitulos al video me ayudaria a entender mejor, mil gracias.
@vinayparvatifartyal4539
@vinayparvatifartyal4539 13 күн бұрын
20:50 where you defined head, you started using it directly.
@aaqibkhan7155
@aaqibkhan7155 2 жыл бұрын
Double linkedlist ka lecture kab upload hoga?
@snehancoghosh7322
@snehancoghosh7322 2 жыл бұрын
Can someone tell me for placement exams do we need to write the programs from scratch or can we use the collections framework?
@chirg2440
@chirg2440 2 жыл бұрын
Use collection frame work. They want to work with linedlist Not make a new linked list
@GhostRider....
@GhostRider.... 2 жыл бұрын
@@chirg2440 can u tell me in tree data structure can we implement through collection framework??
@chirg2440
@chirg2440 2 жыл бұрын
@@GhostRider.... we have already sort command in java for sorting. So we can easily do that. If u want to know internal procedures u can learn but i think u should learn how to use code everything is available on Internet u can copy paste. In software u have already big issues other then sorting 😅😅😅😅😅
@alfejfakir4049
@alfejfakir4049 2 жыл бұрын
instead of two nodes last and secondLast in removeLast Method we can write it like:- void removeLast(){ if(head == null){ System.out.println("empty list can't remove any node"); return; } Node currTempNode = head; while(currTempNode.next.next!=null){ currTempNode = currTempNode.next; } currTempNode.next= null; }
@adityalodhi4023
@adityalodhi4023 2 жыл бұрын
why she is taking inner class? can we take separate class? and how inner class takes memory when we creates the object of outer class pls explain it will be very helpful for me
@rajukanuri5122
@rajukanuri5122 2 жыл бұрын
I think you will get null pointer, if next node of head is null
@alfejfakir4049
@alfejfakir4049 2 жыл бұрын
@@rajukanuri5122 no I won't because I am still incrementing my pointer by only 1 , and it will stop before the node containing it's next as a null
@AbdulHafeez-eb8vo
@AbdulHafeez-eb8vo 2 жыл бұрын
The way of teaching. I LIKE ♥
@Abhay0498
@Abhay0498 2 жыл бұрын
Awesome
@vaibhavbagal9209
@vaibhavbagal9209 2 жыл бұрын
Best teacher ever world
@kamilhasan3934
@kamilhasan3934 Жыл бұрын
Am i the only one ,who didn't understood?🥴
@ZaidAnsari-un5pu
@ZaidAnsari-un5pu 8 ай бұрын
Agreed, I already knew cpp and basic Java so I could gasp it, but for a complete beginner Didi's lectures are not recommended and neither is java
@Ohhh7777
@Ohhh7777 8 ай бұрын
Then I think I came at the right place.
@mineshgaikar2437
@mineshgaikar2437 7 ай бұрын
try learning opps first and then linked list
@sayantanichattopadhyay6824
@sayantanichattopadhyay6824 7 ай бұрын
Bhaisab khud se effort maro... spoon feed karwaye ga kya koi.... bohot acha samjhaye didi ne.... it's your problem that you couldn't understand... At first gain some basic knowledge.. definitely you'll understand
@studenthub-q9g
@studenthub-q9g 7 ай бұрын
Yes
Binary Tree in Data Structures | All about Binary Tree | DSA Course
1:22:13
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 39 МЛН
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 22 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 59 МЛН
Reality of my Google Salary after TAXES
6:54
Fraz
Рет қаралды 295 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Stack Data Structure in One Video | Java Placement Course
36:45
Apna College
Рет қаралды 765 М.
8 Data Structures Every Programmer Should Know
17:09
ForrestKnight
Рет қаралды 206 М.
Merge Sort | For Beginners | Java Placement Course
21:25
Apna College
Рет қаралды 731 М.
Web Development Complete RoadMap for 2025 | from Basics to Advanced
22:00
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 39 МЛН