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

  Рет қаралды 1,275,197

Apna College

Apna College

2 жыл бұрын

Skip to Linked List Direct Implementation - 41:01 (Don't skip if you want to understand Linked List in Detail)
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)
Notes to the Lecture : docs.google.com/document/d/1y...
🔥Java Placement Course : • Introduction to Java L...
🔥Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
🔥Telegram: t.me/apnikakshaofficial
🔥Instagram: / dhattarwalaman
My KZfaq Gear 😉: docs.google.com/document/d/1p...
Notes of this Lecture:

Пікірлер: 838
@dbinod8383
@dbinod8383 Жыл бұрын
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.
@mdsarfraznawaz2911
@mdsarfraznawaz2911 2 жыл бұрын
I love this channel. You are doing a noble job here. There is an enormous learning here. Again thanks.
@princepriyaraj6089
@princepriyaraj6089 Жыл бұрын
This topic took me 2 days to understand nicely. Felt like a webseries. Thank you mam. Very engaging session.
@devotion_surya3741
@devotion_surya3741 Жыл бұрын
Last few minutes and starting few minutes is a bonus knowledge for us.
@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
@Hustler0109
@Hustler0109 Жыл бұрын
These videos makes more sense to me when I forget the concepts in the middle of a problem. Best teacher💕
@rohitsamant8240
@rohitsamant8240 Жыл бұрын
es wali video ke home work question ke Ans bhej skti ho
@NoobCoder623
@NoobCoder623 Жыл бұрын
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.
@kunsangmoktan335
@kunsangmoktan335 2 жыл бұрын
Thank you for explaining it very well and making it clear..
@ianujsharmag
@ianujsharmag 2 жыл бұрын
Mam when you smile while teaching is the best part of this video 😀😇 And your method of teaching is very good 👍
@SANDEEPKUMAR-rg4tk
@SANDEEPKUMAR-rg4tk 2 жыл бұрын
Excellent explanation,very helpfull Thanks
@ManiacXJohan
@ManiacXJohan 11 ай бұрын
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......
@sandeepyadav3563
@sandeepyadav3563 2 жыл бұрын
Hii ,your session improve me in dry thinking, knowledge etc. Thank You , Miss
@dayaramsaini2829
@dayaramsaini2829 Жыл бұрын
Great way of teaching. Touching the mind .
@user-so3tr7rj6g
@user-so3tr7rj6g 8 ай бұрын
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 5 ай бұрын
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 3 ай бұрын
​@@mdmahmudulhassan1488 watch at 28.50
@sarthakshishodia4838
@sarthakshishodia4838 3 ай бұрын
@@mdmahmudulhassan1488 Bro hmne phle hi head ko static Node declare kr dia tha ek baar dobara dekho
@vijaybagal712
@vijaybagal712 Жыл бұрын
Even our teachers was not able to explain like u..👌👍🏻👍🙏
@debashishmahato4591
@debashishmahato4591 2 жыл бұрын
LinkedList explained so nicely.. got this video thankfully, :)
@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.
@amankumarsingh6744
@amankumarsingh6744 2 жыл бұрын
Gajab mam Saara concept clear ho gaya KOTI KOTI NAMAN HAI AAPKO
@rajveersinghrawat3311
@rajveersinghrawat3311 2 жыл бұрын
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 ☺.
@732_dipen4
@732_dipen4 2 жыл бұрын
Your explanation is awesome 👍
@amaanullah13
@amaanullah13 Жыл бұрын
Thankyou Ma'am for making it easy to understand. Since morning I was stuck into this topic. Onboarding to assignments now✈️
@rohitsamant8240
@rohitsamant8240 Жыл бұрын
es wali video ke home work question ke Ans bhej skte ho
@antimuggle_ridhi2565
@antimuggle_ridhi2565 Жыл бұрын
in the video she hasnt initialised the head variable, why is it not giving error?
@Fitness_a2a
@Fitness_a2a 2 жыл бұрын
Apki video dekhar me coding basic puri tarha se sekh gaya thank you 🥰
@vijankaush7308
@vijankaush7308 Жыл бұрын
These contents are awesome. It would better if you can add English subtitles for international students like me. Cheers from Sri Lanka
@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. :)
@farhanbutt6865
@farhanbutt6865 Жыл бұрын
Explained in an excellent way
@100xDevPiyush
@100xDevPiyush 10 ай бұрын
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
@Somevideos12
@Somevideos12 2 жыл бұрын
Good and great teaching skill 😍
@pritamsaini2918
@pritamsaini2918 2 жыл бұрын
everytime i watch this video ... i learn a new thing thanku dii and aman bhai
@Only_reels07
@Only_reels07 10 ай бұрын
mem jab jab aapka lecture dekhta hoon mera self confidence gir jaata hai but mem aapka concept high lvl hai
@user-lb3iq1ms5l
@user-lb3iq1ms5l 6 ай бұрын
your way of teaching is so good that no-one can feel bored while watching your video.
@PritamKumar-kt2yg
@PritamKumar-kt2yg 2 жыл бұрын
wonderfull for teaching style . i understand all topic
@vijaybagal712
@vijaybagal712 Жыл бұрын
Thank did...hat's to u didi....when i was at your age not able to grasped such a valuable knowledge and presentation...👍👍🏻👌👌
@user-lg8kn5nc8m
@user-lg8kn5nc8m 6 ай бұрын
Thank you didi you are the best teacher who clear my all doubts without asking it.❤
@codingnikhil4373
@codingnikhil4373 2 жыл бұрын
Best lecture in linked list
@LearnwithAvinashDalvi
@LearnwithAvinashDalvi 2 жыл бұрын
Superb explanation and simpler 👍👍
@shwetanksudhanshu4383
@shwetanksudhanshu4383 2 жыл бұрын
The best thing is to understand using diagrams.Thankyou
@mranalyzer7698
@mranalyzer7698 2 жыл бұрын
Can u pls explain about asymptotic notation and time complexity. It will be helpful if u could do it.
@dailycoding9845
@dailycoding9845 2 жыл бұрын
Wow nice timing di!! I'm searching for this 😊👍 Thank you so much!!!
@rirupa4930
@rirupa4930 3 ай бұрын
Hii
@manoharthanawasi
@manoharthanawasi 8 ай бұрын
Time complexity for accessing array element is O(1) and for linear search it's O(n).
@gonurraviteja9016
@gonurraviteja9016 11 ай бұрын
The way of teaching the concepts is clear & excellent 👌
@chandansahoo466
@chandansahoo466 2 жыл бұрын
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 2 жыл бұрын
kzfaq.info/get/bejne/aNebZK6Hp5i9fKc.html C language
@masoomraza5155
@masoomraza5155 2 жыл бұрын
You are a very GOOD person and always RIGHT
@pravindabhade185
@pravindabhade185 2 жыл бұрын
Train wala example for linked list is the best one. 👍
@Satvikshukla0007
@Satvikshukla0007 Жыл бұрын
Awesome lecture 🔥🔥👌👌👌👍👍👍
@milindchaturvedi9770
@milindchaturvedi9770 9 ай бұрын
Thank a lot for this valuable video ♥ Helped me a lot !
@AbdulHafeez-eb8vo
@AbdulHafeez-eb8vo Жыл бұрын
The way of teaching. I LIKE ♥
@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
@SHTALKS
@SHTALKS 2 жыл бұрын
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 ♥
@hafsaanwar9625
@hafsaanwar9625 2 жыл бұрын
thanku so much for this video.very informative
@kaushkipal2295
@kaushkipal2295 2 жыл бұрын
Very interesting your lecture I am very grateful to you dii
@bharadwaj2594
@bharadwaj2594 2 жыл бұрын
finally didi is back and firsttime i understand concept and some one say me where to practice progrming qp on linked list
@priyankadawane4156
@priyankadawane4156 Жыл бұрын
great efforts... enjoyed learning linkedList :) keep it up
@BalasubramaniH-xt1pp
@BalasubramaniH-xt1pp Жыл бұрын
Really Lovely Explaination ..............................
@reenayadav8468
@reenayadav8468 2 жыл бұрын
Thank you so much. this is very helpful vedio 🙏🙏
@kittugurav8143
@kittugurav8143 2 жыл бұрын
The way she explained make that hard topic easy🥰🥰
@rinkirathore6502
@rinkirathore6502 Жыл бұрын
@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 Жыл бұрын
Thanks Rinki.... I was thiniking the same and you clarified it.
@mdsarfarazalam8452
@mdsarfarazalam8452 Жыл бұрын
@@amitray769 can you tell me how in "class node" node next variable written .i mean which oops concept is written here
@mdsarfarazalam8452
@mdsarfarazalam8452 Жыл бұрын
@@amitray769 can you tell me how in "class node" node next variable written .i mean which oops concept is written here
@idraksheikh301
@idraksheikh301 Жыл бұрын
@@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
@pawanrajput9451
@pawanrajput9451 Жыл бұрын
Thank u so much dii The way of teaching is really exceptional
@sayalijunghare7240
@sayalijunghare7240 2 жыл бұрын
Thanx mam, lecture was too good!!!!!!
@akkid7666
@akkid7666 2 жыл бұрын
Thank you so much mam .I was searching for this kind of explanation and now I understand.God bless you 🙏
@somalimahapatra6314
@somalimahapatra6314 Жыл бұрын
Thankyou so much. Loving it.
@anshulsharma9649
@anshulsharma9649 Жыл бұрын
great way of teaching thanks dear.
@sundaramumarvaishya7757
@sundaramumarvaishya7757 Жыл бұрын
I watched various video but when i watch this video then i cleared my doubt thanks shradha didi
@rashahoda3215
@rashahoda3215 Жыл бұрын
i have never been so grateful to understand hindi
@rituja_D
@rituja_D 11 ай бұрын
U r too good teacher..Thanku :)
@rinkirathore6502
@rinkirathore6502 Жыл бұрын
@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 Жыл бұрын
exactlyy ,
@anilptl
@anilptl Жыл бұрын
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 Жыл бұрын
@@anilptl she mentioned at last
@SonuKumar-uq2rb
@SonuKumar-uq2rb 10 ай бұрын
aapse sikne k baad dubara padne ki jarurat nhi .great
@jethavadenis
@jethavadenis Ай бұрын
Great.... Easily Understand ✨
@shrikantdewangan
@shrikantdewangan 2 жыл бұрын
We need this similar course in c++ It's better than previous one
@user-cl2ki2cz7g
@user-cl2ki2cz7g 2 жыл бұрын
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 🙏😂😂
@tariqnawaz9849
@tariqnawaz9849 2 жыл бұрын
super the way you are teaching is very good
@venkateshwarlukodithyala3426
@venkateshwarlukodithyala3426 24 күн бұрын
Thanku u so much mam for anonymous teaching..
@sumitkaintura1
@sumitkaintura1 2 жыл бұрын
Video is very informative thanks Sharada didi
@indiancreation3605
@indiancreation3605 5 ай бұрын
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.
@sanjanakatala4311
@sanjanakatala4311 Күн бұрын
very helpful, thank you so much
@numeric_code
@numeric_code 9 ай бұрын
such a greate level explenation
@safaroads9504
@safaroads9504 11 ай бұрын
brilliantly explained
@studyfaby24
@studyfaby24 Жыл бұрын
Muchas gracias agradeceria por favor si pondrian subtitulos al video me ayudaria a entender mejor, mil gracias.
@bhaktisangeet1616
@bhaktisangeet1616 7 ай бұрын
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..........
@abhimansakilam6009
@abhimansakilam6009 Жыл бұрын
fantastic!! Explaination is good.
@manishsultanpure639
@manishsultanpure639 2 жыл бұрын
mem bahot acche se samjh aya thank you so much
@knowledgegyan1001
@knowledgegyan1001 2 жыл бұрын
Her teaching is just so awesome 💯💯
@vibehai846
@vibehai846 Жыл бұрын
Masha'Allah bohot umda.
@akashkb6905
@akashkb6905 Жыл бұрын
Great Explanation.
@mdfurkaanalam5667
@mdfurkaanalam5667 Жыл бұрын
Sukriya didi kafi Acche se bataya appne is topic ko
@sandeep_khangar
@sandeep_khangar 2 жыл бұрын
Good explanation but I'm sure no one can implement linkdelist in real-world . Can you please also explain with some custom classes ?
@sameerfaisal3240
@sameerfaisal3240 Жыл бұрын
My all problems are solved by Mam Sharadha, Love from pakistan
@vaibhavjaiswal8034
@vaibhavjaiswal8034 2 жыл бұрын
Nice one need more 🙂
@avasingh764
@avasingh764 2 жыл бұрын
Teaching style is good sis 👏👍
@nehaaggarwal693
@nehaaggarwal693 Жыл бұрын
Seriously means everything so well explained in detailed....superb effort.....👍
@sanchitbajaj2027
@sanchitbajaj2027 Жыл бұрын
Seriously means very good reply....so well writtened in detailed...superb effort👍
@geetkhanna7838
@geetkhanna7838 Жыл бұрын
👍🏾👍🏾
@anonymousncuian6586
@anonymousncuian6586 Жыл бұрын
👍
@continnum6540
@continnum6540 2 жыл бұрын
Thank you so much 🔥🔥🔥
@avasingh764
@avasingh764 2 жыл бұрын
Amazing ❤️
@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 8 ай бұрын
You can learn from Smart Programming
@purnimanaskar2671
@purnimanaskar2671 2 ай бұрын
Abdul bari sir ke java course se kar sakte ho
@HuAllah
@HuAllah Жыл бұрын
The amt of interest i got in this vid, it made watch twice
@oyesoyam
@oyesoyam Ай бұрын
Thank you maam it helped a lot
@anikamboj3771
@anikamboj3771 2 жыл бұрын
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); } }
@user-pq1lo7um2n
@user-pq1lo7um2n 11 ай бұрын
hi, wonderful playlist.....can someone please guide me with some explanation about "HEAD" & "NEXT" declared in node class
@o46_tauhidqureshi38
@o46_tauhidqureshi38 2 жыл бұрын
HYPNOTIZED BY YOUR MOMENTS OF HANDS..
@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.....
@dhrxval
@dhrxval 2 жыл бұрын
Exactly , no pointers in java
@GhostRider....
@GhostRider.... 2 жыл бұрын
Java has reference instead of pointer
@aninexclusive466
@aninexclusive466 2 жыл бұрын
your teaching skill is so good! But I am struggling to understand Hindi! You can add subtitle!
@kumarsaurav3694
@kumarsaurav3694 2 жыл бұрын
in scratc mode , i feel its lengthy , but i not miss the video and learn the concept to make base, and in last its deal like other collection frame work , hashtable,arraylist
@dnyaneshwarmirkute7929
@dnyaneshwarmirkute7929 2 жыл бұрын
please provide more lectures these are really helpfull
@Video_Editing_Service
@Video_Editing_Service 2 жыл бұрын
thanks didi ..love you somuch .
ArrayList In Java + Notes | Java Placement Course
17:13
Apna College
Рет қаралды 575 М.
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
Каха ограбил банк
01:00
К-Media
Рет қаралды 8 МЛН
Java Collections Framework | Java Placement Course
17:53
Apna College
Рет қаралды 564 М.
Creating the Node of a Single Linked List
6:00
Neso Academy
Рет қаралды 955 М.
DSA & ₹1.2 Crore Per Annum Jobs - The Truth? (No Offence)
12:22
CodeWithHarry
Рет қаралды 518 М.
Stack Data Structure in One Video | Java Placement Course
36:45
Apna College
Рет қаралды 615 М.
Linked List - Data Structures & Algorithms Tutorials in Python #4
28:16
How much Coding to learn for Placements? Data Structure & Algorithms
9:57
🍕Пиццерия FNAF в реальной жизни #shorts
00:41