See complete series on linked list here:
http://www.youtube.com/watch?v=NobHlGUjV3g&list=PL2_aWCzGMAwI3W_JlcBbtYTwiQSsOTa6P&index=3
In this lesson, we will see implementation of basic insertion and traversal of a linked list.
Lesson on Dynamic memory allocation (malloc, new etc) –
http://www.youtube.com/watch?v=_8-ht2AKyH4
Series on pointers in C/C++:
http://www.youtube.com/playlist?list=PL2_aWCzGMAwLZp6LMUKI3cc7pgGsasm2_
Drop your questions/queries in comments section.
mycodeschool on facebook : http://www.facebook.com/MyCodeSchool
Amazon Auto Links: No products found.
you explain things in a very good manner, the only problem that I faced was that you tend to explain things in both c++ and c..this kind of breaks the concentration for the viewer as he might not knw(not be interestd in either of the one) anything abt either c or may be c++..
7:37 We use Arrow operator in C right?
can u please implement the linked list in java ??
ur video and point of explaination are nigger(awasome) but dude pixels in ur videos are tearing apart plz fix this if still u were to star i would have given 4 /5 one taken only for video error
Why can’t we have integer pointer in struct node?
Thanks…..
Amazing channel for programming. You should post more videos….
Really helpful video, you explained it very well as a well qualified trained teacher, especially with the touch of C, although I dont know the abc of C but it did work towards evolving the concept towards Cpp. Thanks
You are a fantastic teacher! The best until now for me.
thank you sooo much..it helped me a lot,my tutor had completely confused me.But your explanation seems so easy and simple.well done!
wow these videos are just so great… all explained in details .. easy to understand… keep up the great job!! and Thx alot
It will be great if you publish a series only on different types of algorithm, implement them and show their application
why are we not saving address of head node.?
Thank you so much sir . this video really helped me to understand the linked list .
you are a kind person
Sir, you explain things incredibly well,largely because your diagrams are so clear and colour-coded.Thank you!
i prefer using dot instead of -> it just looks stupid
thanks for this awesome tutorial series
nice video
Goodwork
please show me the whole code of the video, i am facing a big difficulty
Thankyou Sir:)
Awesome man..I really very thankful to you for this bunch of tutorials. Thank’s man. 🙂
Thanks man ! Would’ve preffered keyboard written code, but, I do like the human touch 😀 Keep up the good work !
excellent
my code is given below
#include
#include
struct Node{
int data;
struct Node* next;
};
struct Node* head;
void insert(int x){
struct Node* temp3=(Node*) malloc(sizeof(Node));
(*temp3).data=x;
(*temp3).next=head;
head=temp3;
}
void print(){
struct Node* temp1;
temp1=head;
while(temp1!=NULL){
printf(” %d”,(*temp1).data);
temp1=(*temp1).next;
}
printf(“n”);
}
int main()
{
head=NULL;
insert(2);
insert(6);
insert(4);
insert(9);
print();
return 0;
}
but I am getting the following result while running the code
prog.c: In function ‘insert’:
prog.c:9:21: error: ‘Node’ undeclared (first use in this function)
struct Node* temp3=(Node*) malloc(sizeof(Node));
^
prog.c:9:21: note: each undeclared identifier is reported only once for each function it appears in
prog.c:9:26: error: expected expression before ‘)’ token
struct Node* temp3=(Node*) malloc(sizeof(Node));
sir please help me
either use c or c++
wow…great vdo sir ji…..thanks
Wish I paid you my college tuition in comparison to my professor.
i will be graduated from youtube instutue of technology!
y u use malloc?? i want to understand that with malloc
This one was a bit unclear. You shifted to C++ in the middle. And also some explanation is needed regarding malloc and dereferencing for someone totally new to this program.
Thanks for explain the implementation in C/C++
Other videos just explain the idea but not explain how the implementation looks like in C/C++.
Thank you very much!
xllent teaching
Thanks you so much
please remove subtitles because the text is not visible
I only have knowledge of C++. I don’t know what going on with C. Your tutorials are awesome but I can’t understand as I don’t know about C.
this video has many errors utter bullshit video
Could you please explain the significance of the last line after your while loop: temp1->link=temp;
very important and valuable information thankeww so much
Great work 🙂 Thanks a lot 🙂 you r just awesome man 🙂 u saved my 16500taka because I don’t need to retake this course 😀 😀
can anyone explain that traverse part alone . what does it mean by temp1 = temp1->link ? how temp1 = temp1->link will get to the next node ?