Doubly Linked List (Inserting a Node in an Empty List)

preview_player
Показать описание
Data Structures: Inserting a Node in an Empty Doubly Linked List
Topics discussed:
1) Creating and inserting a node in an empty doubly linked list.

Music:
Axol x Alex Skrindo - You [NCS Release]

#DataStructuresByNeso #DataStructures #DoublyLinkedList #LinkedList
Рекомендации по теме
Комментарии
Автор

Trust me, once I get job, I definitely give a part of my first month salary to neso academy ❤️

amruthn
Автор

Sir continue control system course.
Your teaching method is awesome

student
Автор

in this program The addToEmpty function is used before it is declared or defined. You need to declare the function prototype before using it in main.
struct node* addToEmpty(struct node* head, int data); declare it in starting.

a-tusarmahakud
Автор

Sir please explain through algorithms sir, then it will be easier to understand by us sir.thankyou

s.h.m.mustaffamustaffa
Автор

Please make video on swift language i learn c language from your video and you are best teacher i my life 😊 you are best 👌if i understand than everyone can understand once again you are best 🙏

bot.xqueen
Автор

Sir can u provide the entire code of add at the beg, add at the end, del at beg, del at end in single

NaipunyaP
Автор

Sir will you not teach the recursion tree method....

thewalker
Автор

Why are you not typecasting the Void return type of data from malloc to struct node*, isn't it gonna cause a memory leak in program..if you practise the same in every time

fomusaib
Автор

thank you very much for your videos. I have another request, can you do with character or strings instead of Interger. I had problems inserting them.

just-a-normalone
Автор

why sometime we type struct node* head and other times struct node *head? what is the difference? can someone explain

ruyafatimasakharkar
Автор

Why we are not returning temp in place of head?

DeepakKumar-dwre
Автор

Sir..why are you using temp..we can directly assign head to created node...are we

funnyanimalvideos-yiyr
Автор

Please prepare a video series on Mumbai University sem 3 comps digital logic and computer organization (dlcoa) subject

codeblueocean
Автор

Why we have taken
struct node* head=NULL
not
struct node))

aayush
Автор

This code has problem.

Showing conflicting types for 'insertnode'

In insertnode function declaration

harshrajyoutube
Автор

Head is a pointer, do we need to return it.???

kennongri
Автор

Actually you dont need to pass head and just simply return the temp to the main functions

daverussell
Автор

sir temp->data=data; how it is work?

rahulbanerjee
Автор

copied your code the exact same way but still got errors

GeoffreyOchiengOdhiambo
Автор

Lol...you just made the first node not inserted anything anywhere

harshalkumar