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

preview_player
Показать описание
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.

Subscribe @TAPACADEMY

or call us at 8884881203

#java #linkedlist #javaprogramming #programming #coder #coding #coderlife #placement #itjobs #jobs #placement #dsa #dsacourse
Рекомендации по теме
Комментарии
Автор

Thank you for Visualization in Real time

Hussainsaddam-cv
Автор

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!

abdallahalmanasrah
visit shbcf.ru