How To Add Element In Linked List Using Index | FREE DSA Course in JAVA | Lecture 95

Поділитися
Вставка
  • Опубліковано 3 жов 2024
  • We have to perform a simple linked list operation ie. adding an element to a linked list using an index.
    You must be knowing in a linked list, indexing is not done internally unlike arrays.
    Hence we cannot directly perform this operation.
    So we have to make a function called add (index, element) and whenever we call this function, it should add the given element to the given index.
    We can do it easily by creating a new node and inserting it at the desired position in the linked list.
    Let's see how we can write a program in Java for adding an element in linked list using index.
    Check out our complete DSA playlist here - • Data Structures And Al...
    Subscribe ‪@TAPACADEMY‬
    For more information, fill out this form: forms.gle/8eiU...
    or call us at 8884881203
    Facebook: / thetapacademy
    Instagram: / tapacademy_online
    Linkedin: / 73820805
    Website: www.thetapacad...​
    #java #linkedlist #javaprogramming #programming #coder #coding #coderlife #placement #itjobs #jobs #placement #dsa #dsacourse

КОМЕНТАРІ • 3

  • @Hussainsaddam-c1v
    @Hussainsaddam-c1v 7 місяців тому

    Thank you for Visualization in Real time

  • @karthikyadagiri2720
    @karthikyadagiri2720 9 місяців тому

    Excellent explanation sir 🔥🔥

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

    Thanks a lot for your efforts in making this video!
    One suggestion that I have is that I think that being in the middle of the video is more distracting than helpful:'), so probably being on the side or even coding behind that screen (instead of standing pointing at codes on the screen) can help with concentrating. Another thing is that using a microphone is a MUST so there would be no echo, and your voice would be clear.
    Thanks though for the effort you put into this!