Тёмный

Insertion of Node in Single Linked List | Data Structures Tutorial 

Naresh i Technologies
Подписаться 1,3 млн
Просмотров 300 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 205   
@NareshIT
@NareshIT 5 лет назад
Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@pranaythallapalli2033
@pranaythallapalli2033 4 года назад
Please make Playlist sir 😢
@techsauce2706
@techsauce2706 4 года назад
Every college should have a teacher like you sir !! Crystal Clear Concepts ! 🙏🤩
@561saleemhabibi5
@561saleemhabibi5 3 года назад
You have made data structures like a piece of cake to eat, Much much appreciate for what you have done.
@veenasrimanthula7792
@veenasrimanthula7792 5 лет назад
Thank you so much sir... Today I missed my class on linked lists and you made it easier for me to get a clear view on everything and helped me in not sitting idle in the next class
@diptangshubhattacharjee8465
@diptangshubhattacharjee8465 5 лет назад
today and next class on the same day XD XD XD
@debidattagouda9374
@debidattagouda9374 7 лет назад
best teacher ever seen
@Top5Category
@Top5Category 6 лет назад
Yeah he's the best !
@Devchitrakshaya
@Devchitrakshaya 4 года назад
Yes......lots of Respect and love❤️
@babycoder-shantanusaha5218
@babycoder-shantanusaha5218 3 года назад
Hm that's right
@AkshayPatil-fz9do
@AkshayPatil-fz9do 6 лет назад
I have almost watched all the C Programming vid many more, really it very good source to have better foundation in your programming concepts, Mr.Shrinivas has explained very clearly and logical but don't think about fluency of the English, It doesn't matter moreover, He is made viewers to understand very clearly, Thank You Sir & Naresh IT
@rahulrawathere
@rahulrawathere 6 лет назад
A big fan of you Sir and will always be indebted to you; Just a small request Sir, The videos in the playlist are a bit disordered... Kindly arrange to get it correct... Thanks a lot Sir
@manishgupta7163
@manishgupta7163 4 года назад
exactly
@sanjanamun1452
@sanjanamun1452 7 лет назад
thank you so much sir, im from bangladesh, and while doing link list got so many troubles to understand... ur method of teaching is beyond good, thankful to u sir, keep uploading videos... best wishes
@afreenashraf550
@afreenashraf550 3 года назад
I am just speechless....the way you explain is incredible👍
@mayflower_jeme
@mayflower_jeme 7 лет назад
I couldn't find the video for inserting node at begin. I searched your playlist. This is a great tutorial, thank you.
@412sahil
@412sahil 7 лет назад
is it in at the single linked list length video you have to watch hole video is in the middle of the video you will find out addatbegain()
@Samindra0inventor
@Samindra0inventor 5 лет назад
void addatbegin() { struct node* temp; temp = (struct node*)malloc(sizeof(struct node)); printf(" Enter node data: "); scanf("%d", &temp->data); temp->link = NULL; if(root==NULL) { root = temp; } else { temp->link = root; root = temp; } }
@sulaimanwestbrook2580
@sulaimanwestbrook2580 5 лет назад
@@Samindra0inventor how is temp->link=null
@ashutoshverma3435
@ashutoshverma3435 5 лет назад
@@sulaimanwestbrook2580 `we have to assign its value to null to create a note
@mdnasim1041
@mdnasim1041 4 года назад
Thanks a lot sir, since 6 ago I stacked in this concept. I have been studying for Some days then after I am not able to understand this concept. But today whole doubt to be clear regarding link list concept thanks sir your teaching style and your ways of understanding style are very fabulous....
@aiswarya3461
@aiswarya3461 6 лет назад
Thank you sir !! You really gave a clear cut explanation of Linked List :))
@shashankshukla2339
@shashankshukla2339 7 лет назад
sir, u are great ...i have seen a lot of linked list videos but no one made this topic so easy...
@lavishgarg8616
@lavishgarg8616 5 лет назад
yes bro its true
@cyberhifi2629
@cyberhifi2629 3 года назад
I have no words for appreciation. Sir you are great. You are the God of computer science students.
@sawankumarchhipa2745
@sawankumarchhipa2745 5 лет назад
The way of explaining logics is quite good....infact its the best !!
@rishabhsonkar4535
@rishabhsonkar4535 3 года назад
Codewithhaary ka dekhne ke baad yhan pahucha...and you clear it in very simple way...love you sir..one problem please organised the playlist sequentially.
@omsatpathy5455
@omsatpathy5455 3 года назад
But sir,this is the 4th position which you inserted the new node into. I think it should be while(i
@anupchaurasia1242
@anupchaurasia1242 3 года назад
read the topic carefully it's clearly mentioned insertion of a node after a specified position.....which means if location is 3 the node will be added after 3rd position which is on the 4th position
@AshishThakur-nx1qi
@AshishThakur-nx1qi 5 лет назад
you are the greatest person for me.....u made data structures so easy.thank u whole heartedly
@SudhanshuKumar-gg4tq
@SudhanshuKumar-gg4tq 3 года назад
Thanks! your videos help me a lot in understanding a single Linked list.😀😀
@arnabdana2273
@arnabdana2273 6 лет назад
Just osm... Really i don't understand linked list last 2 week .. And u just magic Thank u.
@_mohit_patel_
@_mohit_patel_ 4 года назад
Best explanation ever seen on RU-vid. Thankyou so much sir.
@sudarshanmhaisdhune1039
@sudarshanmhaisdhune1039 3 года назад
To make right connection before left connection is very well explained by Srinivasan sir..... Thank You sir
@dhruvkaushal8708
@dhruvkaushal8708 6 лет назад
I have never commented on a video before, but this one touched my heart. Thanks a lot.
@farazahmed7303
@farazahmed7303 6 лет назад
Dhruv Kaushal same here bro,,!! Soo thankful to this man😱
@jitumodi4341
@jitumodi4341 7 лет назад
very clearly explanation in the video. i see many of the video of c language and my dought are cleared properly becouse your explanation is great.
@rishisingh1296
@rishisingh1296 4 года назад
sir you have explained everything fanstastic. You have cleared my doubts ,But only one request please upload the videos in the order.thank you sir.
@surendrababu9877
@surendrababu9877 6 лет назад
one of the best teachers i have seen...Thank u so much sir...
@akilansundaram2181
@akilansundaram2181 6 лет назад
Definitely makes it easy. Well done, good teaching.
@shubhshree5419
@shubhshree5419 6 лет назад
very good sir ....I was frustrated and very confused .I was unable to understand linked list.Your vedio is of great help .have written all the programs to insert nodes in any specified position and display node .I will try it in my computer .Thanku sir
@SD3353
@SD3353 2 года назад
Absolutely beautifully explained......
@ravidatta8433
@ravidatta8433 6 лет назад
excellent teaching sir. this is the best channel for data structures
@natashaganjoo4464
@natashaganjoo4464 5 лет назад
Thank u so much sir....you are a brilliant teacher
@prachisharma5819
@prachisharma5819 7 лет назад
Sir.. grt.. .. u make linked list so easy..😊
@shivanikhedekar4302
@shivanikhedekar4302 6 лет назад
thank you, sir, your lectures on linked list helped me a lot in exams
@kavyakanneti8234
@kavyakanneti8234 7 лет назад
till now i've seen many vedioes but it is the best one
@jasminen891
@jasminen891 5 лет назад
Really awesome sir......got a clear idea u made it very easy to understand
@deepakreddyt
@deepakreddyt 4 года назад
i cant say more than this thank you sir i will share to friends to watch
@shradhayeole6171
@shradhayeole6171 4 года назад
Nice way of teaching 👌👍
@bharathkumarreddyyenikekal1588
Excellent teaching sir.......i like your way of explaination...
@Prasannakumar-sd1fo
@Prasannakumar-sd1fo 5 лет назад
thank u sir we will always support for supporting us in learning
@deekshipalanivel2027
@deekshipalanivel2027 Год назад
Thank you very much sir!! You are great !!!!!!!!! 🙏🙏
@srinadhpodhili6833
@srinadhpodhili6833 4 года назад
Champesav anna hats off anna🙏🙏🙏
@thrilleracaste400
@thrilleracaste400 3 года назад
Thank you sir! Very nicely explained.
@yogeshasati6210
@yogeshasati6210 6 лет назад
i really enjoyed the videos..........thanks..
@manikantakallakuri3194
@manikantakallakuri3194 5 лет назад
Simply loved it..
@Googly123
@Googly123 4 года назад
sir you are too good i am from punjab
@warrior__12021
@warrior__12021 4 года назад
You made me happy today😃🙏
@indirapriyadarshinibhujaba9637
@indirapriyadarshinibhujaba9637 3 года назад
Sir you haven't taken input for the data part in the temp node. nevertheless, you're a great help.
@lakshmiharika6097
@lakshmiharika6097 5 лет назад
Thank u sir.... I clearly understood now....
@ritikbansal5824
@ritikbansal5824 5 лет назад
living legend....thank u sir
@shamimsarker6230
@shamimsarker6230 6 лет назад
Thank you so much sir for your Helpful videos on Data Structure.. Love from #BD ❤️❤️❤️❤️
@akshadabhapkar8944
@akshadabhapkar8944 3 года назад
Great ho aap sir
@venkateshdammala7
@venkateshdammala7 4 года назад
It should be while(i
@hazzy2539
@hazzy2539 4 года назад
How?
@venkateshdammala7
@venkateshdammala7 4 года назад
@@hazzy2539 actually current node address is hold by previous node ,so previous node address is necessary to insert a node in specified node.
@MukeshSinghRathode
@MukeshSinghRathode 4 года назад
Amazing teaching style....
@SandyRocker
@SandyRocker 3 года назад
Naresh sir u are the best 🔥🔥🔥❤️Tq
@geniusnoob3207
@geniusnoob3207 4 года назад
Really awesome sir....
@madhurisingh7463
@madhurisingh7463 4 года назад
Best tutorials ever
@khatariinsaan5284
@khatariinsaan5284 3 года назад
I can't wait without liking his video
@sumit237612
@sumit237612 6 лет назад
Simply superb. Thanks again :)
@manishjha6570
@manishjha6570 5 лет назад
Thank you sir...
@farazmobin2776
@farazmobin2776 4 года назад
very well explained
@diptangshubhattacharjee8465
@diptangshubhattacharjee8465 5 лет назад
Do you have offline course center at Kolkata ??
@ariyanshakil7081
@ariyanshakil7081 4 года назад
Thank;s sir, Really helpful
@sandeshbhorade8477
@sandeshbhorade8477 5 лет назад
I am addicted to see the video of srinivas sir
@rammaheshwari3008
@rammaheshwari3008 6 лет назад
Thanks Sir , Amazing Lecture ❤❤❤
@sandhyalokhande2203
@sandhyalokhande2203 5 лет назад
Sir plzz displays all algorithm in singly link list to insert first and last node and also the deleting node explains. Thank you 👌🙏🙏nice and easy way of solving a node at the position.
@arjungautam1260
@arjungautam1260 5 лет назад
watching from Nepal.
@umashankarboga6283
@umashankarboga6283 6 лет назад
Very good teaching
@Great_sn
@Great_sn 4 года назад
Thank uh so much sir ....😇
@brijeshpatel6384
@brijeshpatel6384 5 лет назад
Thank you sir for supporting me
@dishant5157
@dishant5157 3 года назад
Wow legend are here 🔥
@sudarshanmhaisdhune1039
@sudarshanmhaisdhune1039 3 года назад
Logic! 💥
@naimebillah019
@naimebillah019 3 года назад
thank you so much dear bhaiya
@akkusinghrajput
@akkusinghrajput 6 лет назад
Really! I got everything.
@marvelfighter523
@marvelfighter523 5 лет назад
Good process of learning that I think....
@ShubhamSharma-yn7xr
@ShubhamSharma-yn7xr 6 лет назад
Best teacher 😃
@TheTechnicalman
@TheTechnicalman 6 лет назад
*Thank you so much. In **10:40** do you meant read or write ?*
@rosh24manglani73
@rosh24manglani73 5 лет назад
SUPERB SIR!!!!!
@iamonmyway6213
@iamonmyway6213 4 года назад
Please make a video on inserting at node at beginning
@deepaksarvepalli2344
@deepaksarvepalli2344 4 года назад
Sir u are awesome
@anshumanmishra2555
@anshumanmishra2555 4 года назад
Here is the full executable program #include #include struct node { //Structure named node to store integer in variable data and a pointer variable which can store address location of next node int data; struct node *next; }*head; void insert(int data) { //This function will insert a new node to the start of the linked list struct node *temp = (struct node*)malloc(sizeof(struct node)); temp->data=data; temp->next=head; head=temp; } void add(int data) { struct node *temp,*p; int loc,len,i=1; printf("Enter the location"); scanf("%d",&loc); len=4; if(loc>len) { printf("Invalid location"); } else { p=head; while(inext; i++; } temp = (struct node*)malloc(sizeof(struct node)); temp->data=data; temp->next=p->next; p->next=temp; } } void display() { struct node *temp; temp=head; if(temp==NULL) { printf("The list is empty"); } else { while(temp!=NULL) { printf("%d->",temp->data); temp=temp->next; } } } int main() { insert(1); display(); insert(2); display(); insert(3); display(); add(6); display(); return 0; }
@manishgupta7163
@manishgupta7163 4 года назад
Now I get the concept of link list.
@muskankoshti2665
@muskankoshti2665 4 года назад
Do we have to write the code for length( ) as well ???
@kunaldas5009
@kunaldas5009 6 лет назад
Sir you are great😊.
@muleleg.studio5988
@muleleg.studio5988 6 лет назад
so clear indeed
@kanekii_ken
@kanekii_ken 3 года назад
thanks a lot sir...
@gavravdhongadi9824
@gavravdhongadi9824 4 года назад
Hi sir! What if user enters 4 as a location since there are 4 nodes, I know for that append function could be used but what should be the systems response?
@akshaysai9985
@akshaysai9985 3 года назад
as the link for the last node is NULL so the p pointer wont be able to move further and the p->link location will be stored as NULL and the procedure will be the same as in the video showed.
@035_sidharthchoudhary4
@035_sidharthchoudhary4 4 года назад
Sir isme temp k next me p ke next ka next variable store hoga na
@JeetneKiSanak
@JeetneKiSanak 3 года назад
god of dsa algo.
@thirukkannanp1820
@thirukkannanp1820 6 лет назад
Great..I have one doubt..I=length();, Which length Will be stored in l ?
@NKG_Creations
@NKG_Creations 6 лет назад
Linked list length
@karananumala1846
@karananumala1846 5 лет назад
Godd explanation sir❤️
@kamisettylokesh3156
@kamisettylokesh3156 3 года назад
Nice tuitor
@meandev2422
@meandev2422 5 лет назад
did we can use root=&temp->data instead of root = temp while inserting a node in previous video. if no then why? please Answer.
@farahiismail8263
@farahiismail8263 6 лет назад
thank you very much
@Anagha_VK
@Anagha_VK 5 лет назад
Can i use sizeof(structnode) instead of length() ?
@gauravnagamaheswarpattem7069
@gauravnagamaheswarpattem7069 4 года назад
sir, is there any video of sorting linked list?
@debk4516
@debk4516 5 лет назад
Superb explanations ! Thank You Sir !!
@sad_club
@sad_club 6 лет назад
Thanku u very much sir
@karthikashanmugasundaram9179
@karthikashanmugasundaram9179 3 года назад
its perfect
@AleemAli-vn9sb
@AleemAli-vn9sb Год назад
Nice video
@souravdhankhar3023
@souravdhankhar3023 7 лет назад
Jhakaaas teacher