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

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2021
  • 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 RUclips Gear 😉: docs.google.com/document/d/1p...
    Notes of this Lecture:

Комментарии • 847

  • @dbinod8383
    @dbinod8383 Год назад +36

    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 года назад +64

    I love this channel. You are doing a noble job here. There is an enormous learning here. Again thanks.

  • @sugyanpatnaik2098
    @sugyanpatnaik2098 2 года назад +37

    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 Год назад +10

    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.

  • @princepriyaraj6089
    @princepriyaraj6089 2 года назад +82

    This topic took me 2 days to understand nicely. Felt like a webseries. Thank you mam. Very engaging session.

    • @devotion_surya3741
      @devotion_surya3741 Год назад +5

      Last few minutes and starting few minutes is a bonus knowledge for us.

  • @Hustler0109
    @Hustler0109 Год назад +19

    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

  • @ianujsharmag
    @ianujsharmag 2 года назад +4

    Mam when you smile while teaching is the best part of this video 😀😇
    And your method of teaching is very good 👍

  • @user-so3tr7rj6g
    @user-so3tr7rj6g 9 месяцев назад +34

    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 6 месяцев назад

      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 4 месяца назад

      ​@@mdmahmudulhassan1488 watch at 28.50

    • @sarthakshishodia4838
      @sarthakshishodia4838 4 месяца назад

      @@mdmahmudulhassan1488 Bro hmne phle hi head ko static Node declare kr dia tha ek baar dobara dekho

  • @vijankaush7308
    @vijankaush7308 Год назад +11

    These contents are awesome. It would better if you can add English subtitles for international students like me. Cheers from Sri Lanka

  • @ManiacXJohan
    @ManiacXJohan Год назад +3

    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......

  • @pratika-prakhar
    @pratika-prakhar 2 года назад +15

    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.

  • @sandeepyadav3563
    @sandeepyadav3563 2 года назад +3

    Hii ,your session improve me in dry thinking, knowledge etc. Thank You , Miss

  • @SANDEEPKUMAR-rg4tk
    @SANDEEPKUMAR-rg4tk 2 года назад +4

    Excellent explanation,very helpfull
    Thanks

  • @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 ☺.

  • @vijaybagal712
    @vijaybagal712 Год назад +3

    Even our teachers was not able to explain like u..👌👍🏻👍🙏

  • @mranalyzer7698
    @mranalyzer7698 2 года назад +18

    Can u pls explain about asymptotic notation and time complexity. It will be helpful if u could do it.

  • @amankumarsingh6744
    @amankumarsingh6744 2 года назад

    Gajab mam
    Saara concept clear ho gaya
    KOTI KOTI NAMAN HAI AAPKO

  • @Fitness_a2a
    @Fitness_a2a 2 года назад +2

    Apki video dekhar me coding basic puri tarha se sekh gaya thank you 🥰

  • @dayaramsaini2829
    @dayaramsaini2829 Год назад +1

    Great way of teaching. Touching the mind .

  • @vishalbharatpatil4125
    @vishalbharatpatil4125 2 года назад +1

    Excellent Teaching Skills. By the way, can't define that you are laughing or speaking by looking you. That's a compliment. :)

  • @debashishmahato4591
    @debashishmahato4591 2 года назад

    LinkedList explained so nicely.. got this video thankfully, :)

  • @amaanullah13
    @amaanullah13 Год назад +6

    Thankyou Ma'am for making it easy to understand.
    Since morning I was stuck into this topic.
    Onboarding to assignments now✈️

    • @rohitsamant8240
      @rohitsamant8240 Год назад +1

      es wali video ke home work question ke Ans bhej skte ho

    • @antimuggle_ridhi2565
      @antimuggle_ridhi2565 Год назад +5

      in the video she hasnt initialised the head variable, why is it not giving error?

  • @VaidikPatel-vp47
    @VaidikPatel-vp47 16 дней назад

    Nice explanation with very ease. I have tried many videos for linked list but this is best video to learn linked list from scratch.

  • @100xDevPiyush
    @100xDevPiyush 11 месяцев назад +1

    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

  • @Only_reels07
    @Only_reels07 11 месяцев назад

    mem jab jab aapka lecture dekhta hoon mera self confidence gir jaata hai
    but mem aapka concept high lvl hai

  • @732_dipen4
    @732_dipen4 2 года назад +3

    Your explanation is awesome 👍

  • @pritamsaini2918
    @pritamsaini2918 2 года назад +2

    everytime i watch this video ... i learn a new thing
    thanku dii and aman bhai

  • @Somevideos12
    @Somevideos12 2 года назад +4

    Good and great teaching skill 😍

  • @user-lb3iq1ms5l
    @user-lb3iq1ms5l 7 месяцев назад

    your way of teaching is so good that no-one can feel bored while watching your video.

  • @farhanbutt6865
    @farhanbutt6865 Год назад +1

    Explained in an excellent way

  • @user-lg8kn5nc8m
    @user-lg8kn5nc8m 7 месяцев назад +1

    Thank you didi you are the best teacher who clear my all doubts without asking it.❤

  • @PritamKumar-kt2yg
    @PritamKumar-kt2yg 2 года назад

    wonderfull for teaching style . i understand all topic

  • @chandansahoo466
    @chandansahoo466 2 года назад +4

    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 года назад

      ruclips.net/video/2qk1KVB2YLs/видео.html C language

  • @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...👍👍🏻👌👌

  • @LearnwithAvinashDalvi
    @LearnwithAvinashDalvi 2 года назад +1

    Superb explanation and simpler 👍👍

  • @codingnikhil4373
    @codingnikhil4373 2 года назад +9

    Best lecture in linked list

  • @vishalsoni7172
    @vishalsoni7172 2 года назад +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

  • @shwetanksudhanshu4383
    @shwetanksudhanshu4383 2 года назад +1

    The best thing is to understand using diagrams.Thankyou

  • @AmanRo-45
    @AmanRo-45 14 дней назад

    amazing lecture i have studied earlier but i always learn new things from your lectures

  • @dailycoding9845
    @dailycoding9845 2 года назад +11

    Wow nice timing di!!
    I'm searching for this 😊👍
    Thank you so much!!!

  • @milindchaturvedi9770
    @milindchaturvedi9770 10 месяцев назад +1

    Thank a lot for this valuable video ♥ Helped me a lot !

  • @priyankadawane4156
    @priyankadawane4156 Год назад

    great efforts... enjoyed learning linkedList :) keep it up

  • @manoharthanawasi
    @manoharthanawasi 9 месяцев назад

    Time complexity for accessing array element is O(1) and for linear search it's O(n).

  • @pravindabhade185
    @pravindabhade185 2 года назад

    Train wala example for linked list is the best one. 👍

  • @bharadwaj2594
    @bharadwaj2594 2 года назад +1

    finally didi is back and firsttime i understand concept and some one say me where to practice progrming qp on linked list

  • @gonurraviteja9016
    @gonurraviteja9016 Год назад +2

    The way of teaching the concepts is clear & excellent 👌

  • @hafsaanwar9625
    @hafsaanwar9625 2 года назад

    thanku so much for this video.very informative

  • @kunsangmoktan335
    @kunsangmoktan335 2 года назад +3

    Thank you for explaining it very well and making it clear..

  • @reenayadav8468
    @reenayadav8468 2 года назад

    Thank you so much. this is very helpful vedio 🙏🙏

  • @indiancreation3605
    @indiancreation3605 6 месяцев назад +12

    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.

  • @masoomraza5155
    @masoomraza5155 2 года назад

    You are a very GOOD person and always RIGHT

  • @Satvikshukla0007
    @Satvikshukla0007 2 года назад +1

    Awesome lecture 🔥🔥👌👌👌👍👍👍

  • @AbdulHafeez-eb8vo
    @AbdulHafeez-eb8vo Год назад

    The way of teaching. I LIKE ♥

  • @rashahoda3215
    @rashahoda3215 Год назад +2

    i have never been so grateful to understand hindi

  • @kaushkipal2295
    @kaushkipal2295 2 года назад

    Very interesting your lecture I am very grateful to you dii

  • @BalasubramaniH-xt1pp
    @BalasubramaniH-xt1pp Год назад +1

    Really Lovely Explaination ..............................

  • @pawanrajput9451
    @pawanrajput9451 Год назад

    Thank u so much dii
    The way of teaching is really exceptional

  • @anshulsharma9649
    @anshulsharma9649 Год назад

    great way of teaching thanks dear.

  • @SonuKumar-uq2rb
    @SonuKumar-uq2rb 11 месяцев назад

    aapse sikne k baad dubara padne ki jarurat nhi .great

  • @somalimahapatra6314
    @somalimahapatra6314 Год назад

    Thankyou so much. Loving it.

  • @kittugurav8143
    @kittugurav8143 2 года назад

    The way she explained make that hard topic easy🥰🥰

  • @user-pq1lo7um2n
    @user-pq1lo7um2n Год назад +4

    hi, wonderful playlist.....can someone please guide me with some explanation about "HEAD" & "NEXT" declared in node class

  • @SHTALKS
    @SHTALKS 2 года назад +31

    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

  • @sundaramumarvaishya7757
    @sundaramumarvaishya7757 Год назад

    I watched various video but when i watch this video then i cleared my doubt thanks shradha didi

  • @shrikantdewangan
    @shrikantdewangan 2 года назад +74

    We need this similar course in c++
    It's better than previous one

    • @user-cl2ki2cz7g
      @user-cl2ki2cz7g 2 года назад +6

      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 года назад +1

      Muze to bhai behen lagte ye

    • @sudhanshukushwaha6351
      @sudhanshukushwaha6351 2 года назад +1

      @@manishbhamare1822 🙏😂😂

  • @sayalijunghare7240
    @sayalijunghare7240 2 года назад

    Thanx mam, lecture was too good!!!!!!

  • @rituja_D
    @rituja_D Год назад

    U r too good teacher..Thanku :)

  • @denis_jethava
    @denis_jethava 2 месяца назад

    Great.... Easily Understand ✨

  • @numeric_code
    @numeric_code 10 месяцев назад +2

    such a greate level explenation

  • @tariqnawaz9849
    @tariqnawaz9849 2 года назад

    super the way you are teaching is very good

  • @sandeep_khangar
    @sandeep_khangar 2 года назад +13

    Good explanation but I'm sure no one can implement linkdelist in real-world . Can you please also explain with some custom classes ?

  • @sumitkaintura1
    @sumitkaintura1 2 года назад

    Video is very informative thanks Sharada didi

  • @vibehai846
    @vibehai846 Год назад +1

    Masha'Allah bohot umda.

  • @abhimansakilam6009
    @abhimansakilam6009 Год назад

    fantastic!! Explaination is good.

  • @anikamboj3771
    @anikamboj3771 2 года назад +8

    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);
    }
    }

  • @sanjanakatala4311
    @sanjanakatala4311 Месяц назад

    very helpful, thank you so much

  • @venkateshwarlukodithyala3426
    @venkateshwarlukodithyala3426 Месяц назад

    Thanku u so much mam for anonymous teaching..

  • @rinkirathore6502
    @rinkirathore6502 2 года назад +4

    @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 Год назад +1

      @@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 Год назад +1

      @@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

  • @manishsultanpure639
    @manishsultanpure639 2 года назад

    mem bahot acche se samjh aya thank you so much

  • @akkid7666
    @akkid7666 2 года назад +5

    Thank you so much mam .I was searching for this kind of explanation and now I understand.God bless you 🙏

  • @studyfaby24
    @studyfaby24 Год назад +4

    Muchas gracias agradeceria por favor si pondrian subtitulos al video me ayudaria a entender mejor, mil gracias.

  • @safaroads9504
    @safaroads9504 Год назад

    brilliantly explained

  • @oyesoyam
    @oyesoyam 2 месяца назад +1

    Thank you maam it helped a lot

  • @eedulavenkatesh-rm1gx
    @eedulavenkatesh-rm1gx Год назад +3

    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

  • @someshsahu4638
    @someshsahu4638 Год назад +6

    In line no. 14, where did the "head" come from and what it's type

  • @sameerfaisal3240
    @sameerfaisal3240 Год назад

    My all problems are solved by Mam Sharadha, Love from pakistan

  • @akashkb6905
    @akashkb6905 Год назад

    Great Explanation.

  • @continnum_radhe-radhe
    @continnum_radhe-radhe 2 года назад +2

    Thank you so much 🔥🔥🔥

  • @o46_tauhidqureshi38
    @o46_tauhidqureshi38 2 года назад +1

    HYPNOTIZED BY YOUR MOMENTS OF HANDS..

  • @rinkirathore6502
    @rinkirathore6502 2 года назад +3

    @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 Год назад

      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 Год назад +1

      @@anilptl she mentioned at last

  • @HuAllah
    @HuAllah Год назад

    The amt of interest i got in this vid, it made watch twice

  • @mdfurkaanalam5667
    @mdfurkaanalam5667 Год назад

    Sukriya didi kafi Acche se bataya appne is topic ko

  • @vaibhavjaiswal8034
    @vaibhavjaiswal8034 2 года назад +1

    Nice one need more 🙂

  • @husain_bhai0
    @husain_bhai0 Год назад +54

    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

  • @lost2932
    @lost2932 2 года назад +3

    38:52 Can anyone pls explain why was int size was of defined of private type?

  • @shraddhaprabhakar4365
    @shraddhaprabhakar4365 Год назад

    amazing, thank u so much didi

  • @knowledgegyan1001
    @knowledgegyan1001 2 года назад +2

    Her teaching is just so awesome 💯💯

  • @avasingh764
    @avasingh764 2 года назад

    Teaching style is good sis 👏👍

  • @aninexclusive466
    @aninexclusive466 2 года назад +3

    your teaching skill is so good!
    But I am struggling to understand Hindi!
    You can add subtitle!

  • @jyotisapkale9188
    @jyotisapkale9188 2 года назад +7

    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.