Lec-21: Insert a node at the beginning of Linked list | Data Structure

preview_player
Показать описание

Inserting a new node at the beginning of the Linked List is very easy. First, a new node with given element is created. It is then added before the head of the given Linked List that makes the newly added node to new head of the Linked List by changing the head pointer to point to the new node.
0:00 - Introduction
0:25 - 3 ways of insertion
0:48 - insertion in the beginning
3:52 - Pseudocode
10:15 - Time complexity

► Data Structure (Complete Playlist):

Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
► Operating System :
►Database Management System:
► Theory of Computation
►Artificial Intelligence:
►Computer Networks (Complete Playlist):
►Computer Architecture (Complete Playlist):
►Structured Query Language (SQL):
►Discrete Mathematics:
►Compiler Design:
►Number System:
►Cloud Computing & BIG Data:
►Software Engineering:
►Design and Analysis of algorithms (DAA) (Complete Playlist):
►Graph Theory:
►Programming in C:
►Digital Logic:

---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Рекомендации по теме
Комментарии
Автор

After several videos finally found someone who has explained it in such a beautiful way 💖 no disrespect for anyone else:)

ShwetaKhandelwal
Автор

After watching several videos with confusion, finally, I understood the concept . Thank you so much.

NARAYANSHRESTHA-vu
Автор

Mam please give the full program with word by word explanation. Everything is clear instead of the program.

vidhansharan
Автор

Thank you mam bhot ache se padhaya bhot ache se samjh aaya mujhe baki ma practice karunga kal Eve ma mera exam ha morning ma or ache se padhunga 🙏🙏

F_H_
Автор

i found this explanation better than that of CodeWithHarry.

bikdigdaddy
Автор

Thanks from Pakistan today this video is very helpful for my DSA exam

ahsangujjar
Автор

THANKS mam. you are great. BY the way today you looking so cute.

ranabindumondal
Автор

mam great explanation, one doubt was there . How computer knows that we have to insert the node at the beginning

devanshgupta
Автор

Very good explanation Ma'am
Thank you so much💓💓💓💓💓

arunnishad
Автор

Mam middle ma add ki video bi upload krde

rakharakha
Автор

Plzz also write full program, we need it

riyahablani
Автор

I think 8 : 29 ma'am new ke next me head ka addres kyu hoga? Next node ka hoga na?kindly tell me

renukamagadwar
Автор

Mam i dont understand pseudo code 😢😢😢😢😢😢

harishdagar
Автор

Psedo code to uper se jata h kaise kare

shrutisingh
Автор

@9:24 you'll need to free new /* free(new); */
else there's a memory leak

cheseremtitus
Автор

Sir ye linklist khud explain karta tu acha huta

waseemcode
Автор

Either i am very Dumb either linklist is too much hard for fresher one thinkg is true

ajinkyarathod
Автор

Mam iska pura code send kijiye nhi ho rha h error btata h please send me

AmanKumar-pfcm
Автор

1:38 yaha pr humne ek nu** node le liya 😂😂😂😂😂😂

khushalsky-Coding
Автор

Hlo naina didi kaise ho varun sir kha hai

Mukesh-