Neso Academy is a blessing to all CS students. Shine on! How can you make your videos so brief yet so elaborate. Passed two of sems watching you guys. Looking forward to excel in my academics and crack a Top Tech company interview on the basis of the knowledge provided by you. Lots and lots of love from Assam. Thank you if this could suffice anyway. 💛💛💛💛💙💙💙💙💙💙💙💙💙💜💜💜💜💜💜💜🖤🖤🖤🖤🖤🖤🖤🖤
@subhamroy53684 жыл бұрын
Hey, I'm from Assam too, you're in which college?
@-error1022 жыл бұрын
So, true!!
@ummesidra8403 Жыл бұрын
this channel is made for electrical and electronics
@kritagyaprasad72304 жыл бұрын
The way of teaching is so awesome....just like a pro.
@awakeningcore94522 жыл бұрын
I felt Sparks Of Knowledge in under a minute of watching this video, LEGENDARY MYTHICAL Channel
@harsh10272 жыл бұрын
Been trying to understand this logic from past one month, n i understood clearly in 5 mins after watching this video, really appreciated! Thank you soo much!
@kevin-xr1wf3 жыл бұрын
Teaching is art.... Neso is artist👌
@puripatratanaarpa40662 жыл бұрын
You save my life. Trying to understand this concept take me very long time. Your video clear my brain.
@badxcode4 жыл бұрын
Please, upload these video as soon as possible. We know it takes a lot of time to make these videos, but keep uploading them sir. We are waiting for the next video. Thank you sir. Watching from Bangladesh.
@amytie79422 жыл бұрын
Clear explanation. This is just what I needed to understand the topic, thank you so much Neso Academy
@nithyarao80393 жыл бұрын
Never in my life I would feel this happy.. thanks lot
@aakashakku53 жыл бұрын
can u share this code? I'm not understanding
@invaderffgaming4475 Жыл бұрын
You are my greatest teacher of my all time thanks a lot sir ❤
@MahaLakshmi-yx5ip3 жыл бұрын
The way you are teachig is awesome,this is very easy to understand......really Wowww,really thank you soo much Neso Academy.....
@anusmitsaha86044 жыл бұрын
Sir please increase the frequency of videos. Data Structures and Algorithms are the most important topics in Gate and campus placements. Your teaching is just too awesome. We are unable to find a better teacher for this subject somewhere else. Please sir, it's our request to increase the frequency of lectures.
@BUSHRASALEEM-x7n Жыл бұрын
I have watched this lesson of various channels but in vain. Finally I have learned it from you.🎉❤
@quoctuan2002 Жыл бұрын
very easy to understand. In my class,teacher teaches very fast and sketchy so it took me a lot of time to understand
@jdrex5039 Жыл бұрын
Your videos are awesome! Great job teaching this stuff!
@bindhushreeg17584 жыл бұрын
sir ur teaching just awsm sir I'm love with ur neso academy seriously Oh my god I felt data structures as so difficult but the way u thought me made my data structure perfect Tq so much sir once again👑👑👑👑👑👑
@manuelconte21272 жыл бұрын
EXPLANATION MASTERPIECE !
@nehagupta93574 ай бұрын
And ur teaching way is so amazing which is easy to understand
@itlti55573 жыл бұрын
THANKS MAN! THIS IS SO EASY NOW...
@manavpatel14204 жыл бұрын
Please continue this data structure series Don't stop kindly send video as soon as possible
@Veda82853 жыл бұрын
Big fan of Neso Academy
@manideep.v8b500 Жыл бұрын
It is really a blessing to have neso academy.. Thanks a lot for this... ❤
@sda-tw9xy3 ай бұрын
Thankyou...it was a really good explanation😊
@Gsk7103 жыл бұрын
you are the best teacher
@kajalmondal97454 жыл бұрын
Teaching is an art And you are the artist💜💜💜
@ojewandetaofeek9737 Жыл бұрын
Thank you so much for the videos
@dynamite46774 жыл бұрын
You are such an amazing tr..thankyou sir
@xiaoshen1942 жыл бұрын
Beautiful . Thank u 😘😘😘 muuuaahhh
@naurinsultana11664 жыл бұрын
U are a pure gem
@Mkofficial523 жыл бұрын
Kya voo
@dipeshsamrawat79573 жыл бұрын
I love Neso Academy. :)
@mohammadimranaameri2257 ай бұрын
Awesome Job 👏💯 thanks 👍
@tahirnawaz98213 жыл бұрын
Great work
@prajithshetty20274 жыл бұрын
I really understood linked list by watching your videos
@dhananjaypandey99774 жыл бұрын
Sir I am student of b.tech cse you teach great ...but please put algorithm for all the videos you have made i want to find step by step algorithm....but without any doubt you are very helpful thanks...😊
@marva21633 жыл бұрын
Thanks a lot.......no words to express.
@samprithcamin7394Ай бұрын
Thank you so much sir
@siddhantpathak20633 жыл бұрын
4:00 We have to typecast ptr into node* as malloc function returns as void pointer datatype
@rishabhjain71198 ай бұрын
It isn't compulsory. You can do it without explicitly typecasting it.....I don't know the reason behind it tho...
@AryanKumar-cc7ku4 жыл бұрын
Sir... please upload all videos as fast as you can.... because i have to end this data structure in this lockdown..and i am totally depend on you
@saicharan86383 жыл бұрын
Excellent teaching sir
@amanmenda24072 жыл бұрын
Tysm man ! ❤️
@kimdev113 жыл бұрын
one of the best! kudos
@rabiakainat78653 жыл бұрын
Thank you so much sir😍😍😍😍😍😍😍
@hariomkeswani91503 жыл бұрын
Thank you bro🥳🥳🥳
@GlobalYoung72 жыл бұрын
Thank you ❤😊
@ANKITKUMAR-hj8pm4 жыл бұрын
Plz upload complete video on ds ASAP🙏
@pookiecookie0211 ай бұрын
His font colours are of the Indian flag.
@tails_the_god3 жыл бұрын
i tried following this and it worked! :D but arent you suppose to free the memory after?
@sinegazer Жыл бұрын
Lifesaver 😭😭😭
@j.r.r.tolkien87243 жыл бұрын
You're the best!
@AbdulRahman-se6db4 жыл бұрын
After the explanation, plssss write the whole code together, as I'm unable to understand where to put the add_beg function that you created at 3:25 in the main code ??? Can anyone help me out
@aakashakku53 жыл бұрын
m too struggling.. He said to add_beg code but where.. somebody pls help me
@sathwiknaveen37863 жыл бұрын
Tq bro😍😍
@accessdenied93933 жыл бұрын
Dr. Neso, why I cannot do something like so, is so brief: typedef struct node { int data; struct node *ptr; } node; int main(void) { node n2 = {20, NULL}; node n3 = {30, NULL}; n2.ptr = &n3; // link node 2 with node 3 node n1 = {10, NULL}; n1.ptr = &n2; // link node 1 with node 2 for (node *tmp = &n1; tmp; tmp = tmp->ptr) printf("%i ", tmp->data); }
@bartlomiejodachowski3 жыл бұрын
instead of returning head via return we could have used pointer to head; beacuse head is already a pointer it would have been double pointer. void add_beg(node **headPtr, int d){ node* new = malloc(sizeof(node)); new->data = d; // _new->link = NULL;_ *new->link = *headPtr;* **headPtr = new;* } e.g add_beg(&head, data);
@guldencetin39392 жыл бұрын
Hocam niye alt yazıyı kapattınız .Lütfen açar mısınız ayrıca mükemmel anlatıyorsunuz
@mayankyadav12904 жыл бұрын
sir when do we have to declare the function as void and when to struct node * type
@roudra3234 жыл бұрын
when a function returns nothing, it is called void, and when a function returns something it you have to write the return type instead of void,
@mirmohsinali7324 жыл бұрын
Can someone explain why we use "head=add_beg(head,data);"? Why are we assigning the function to head? Also, why is "return head;" necessary for this program?
@comp_131_takshpatel93 жыл бұрын
Before this line writing our head address us 1000 And after writing this line head=add_beg(head,data); we update the head 3000 instead of 1000 Why return the head ,because we achieve a new value of head it means we update the value of head
@LeoL1232 жыл бұрын
pointer head and ptr in the function are local to its function. pointer head in the add_beg function only copies the values from the pointer head in main function, both have the same name 'head' but they are different pointer. even though there is 'head = ptr' in the add_beg function, it doesn't mean the value of the pointer head in main function will change to ptr. therefore the value of ptr should be return to main function as pointer head. Actually 'return ptr' will do the same job as 'return head' in this case and you don't need 'head = ptr'.
@58__tannurawat954 жыл бұрын
Now the linked list looks like bacho Ka khel 😂😂😂😂 outstanding sirr kept up sir👍🏾
@anasshilar12934 ай бұрын
Is the function you shown in back is have to insert in a program or not
@nquanta15484 жыл бұрын
Super👍👍👍
@abhayrathore91362 жыл бұрын
Where can we find the source code?
@nirupamabhoi9234 жыл бұрын
First ptr was pointing to the node address 2000. How the same pointer will point to the newly created node of address 3000 ? little confusing sir.
@rajeshprajapati66622 жыл бұрын
pointer with address 3000 is local to addbeg function only. It is different pointer from the main function one.
@414kunchalavenkatesh93 жыл бұрын
Sir,not getting output,it showing error" undefined reference to" add-beg', plz help me
@darkshadowgamming645 Жыл бұрын
sir as we know this data is stored in Heap so after printing the data isn't it lost forever in Heap when we exit the program without even deallocating the memory.
@reverbism2 жыл бұрын
Thank You 7/03/2022 5:28 am
@amitsingh-fu5jl8 ай бұрын
where do you free all the memory allocated by malloc?
@rythmikz_beatbox2 жыл бұрын
Is it mandatory to create two nodes manually to insert a node at the beginning
@pradhmrajeswar2 жыл бұрын
bro one doubt, in struct node why we should'nt declare the head
@daverussell40523 жыл бұрын
im a little bit confuse if i remove head = ptr; the program is just work fine, because the functions already returns the ptr and you assign the head with the ptr in the main functions. why we should assign head to the pointer in the local variable ? and also if you dont assign the head in the main section the head still remains the address of the first node you store not the one that you append
@rajeshprajapati66622 жыл бұрын
ptr = head in the main function is done to traverse the node while head is always there to point to the first node.
@29_d_abhishekshukla213 жыл бұрын
Sir one error will come at line 9 at struct node *ptr is declaration is not allowed here
@patel_darshan_28032 жыл бұрын
Where we write new node code before int main or inside int main??
@saifmos65163 жыл бұрын
why dont you free all the pointers from the heap after all with free() , is not that better?
@jatinkumar-ln5sh2 жыл бұрын
Yaar tum bilkul correct bata rahe ho baki bahut sare log galat salat bata rahe hai phir bhi log na jaane kya kya dekh rahe hai. Self explanatory video
@shubhamjha4452 жыл бұрын
Why we are using functions for inserting node at the begginning
@aparajitadas66174 жыл бұрын
Sir when file handling will come????
@nesoacademy4 жыл бұрын
Already available on our app.
@aparajitadas66174 жыл бұрын
@@nesoacademy okkkk sir.
@nishchhalpachouri16583 жыл бұрын
@neso acadmey This code isn't working showing an error. can u plz give me the source code...
@tadkoleindhu56172 жыл бұрын
what we need to use instead of add_beg?it is not working on code blocks
@battuadityarao Жыл бұрын
someone paste the full code here. i am in confussion
@santhoshsiva2812 жыл бұрын
whether ptr!=NULL and ptr->link !=NULL are all same?
@liveonphoenix50452 жыл бұрын
start @3:38, ptr->link = head; head = ptr; ???
@liveonphoenix50452 жыл бұрын
Is there something DEEP COPYING going on?
@liveonphoenix50452 жыл бұрын
um, the "ptr->link" point to itself? Then how do we get the next link?
@beeanonymous50324 жыл бұрын
Bro stack implementation of linked list and queue implementation of linked list.
@naaznkv89584 жыл бұрын
Good information but it would be more beneficial if it's in Hindi language 👍👍
@kasinathvaradi3573 жыл бұрын
What about the people who don't know hindi bro 😂😂😂
@hemlataverma3542 жыл бұрын
Is this program is working on pc Or not
@pacikkondeng69944 жыл бұрын
How about adding a node at the end of the list?
@izumishinshi91724 жыл бұрын
see previous lecture
@肖敬轩-y1v Жыл бұрын
Hello,sir,why some videos don't have captions, I love your CS videos but if there are not captions it is diffficult for me to understand you.
@rajumaurya7901 Жыл бұрын
why am i getting two different output by calling traverse(). #include #include struct node{ int data; struct node *link; }; void main(){ struct node *head; head = (struct node*)malloc(sizeof(struct node)); head->data = 10; head->link = NULL; insert_at_beg(head); traverse(head); } void insert_at_beg(struct node *head){ int item; struct node *newnode; newnode = (struct node*)malloc(sizeof(struct node)); printf("Enter the data which you want to insert : "); scanf("%d",&item); newnode->data = item; newnode->link = NULL; if(head==NULL){ newnode->link = NULL; }else{ newnode->link = head; } head = newnode; traverse(head); } void traverse(struct node *head){ int count=0; if(head == NULL){ printf("linked list is empty!!"); } struct node *ptr = NULL; ptr = head; while(ptr != NULL){ printf("%d ", ptr->data); ptr = ptr->link; count++; } printf(" total number of items in linked list = %d ", count); } OUTPUT:- Enter the data which you want to insert : 55 // traverse() call inside the insert_at_beg() 55 10 total number of items in linked list = 2 10 //traverse() call inside the main() total number of items in linked list = 1
@023_srayanchakraborty32 жыл бұрын
why is the function struct Node* type??
@nehagupta93574 ай бұрын
Sir pls program ko online run kraya kriye
@siddhantaasarmya37183 жыл бұрын
Why is there * after struct_node in function? can you answer this
@dominiquefortin53453 жыл бұрын
The use of a caboose is another way and it simplifies all the code. struct node *createList() {struct node *nd = malloc(sizeof(struct node)); nd->link = nd; return nd;}; void insertBefore(struct node *nd, int new_data) {struct node *new_nd = malloc(sizeof(struct node)); new_nd->link = nd->link; new_nd->data = nd->data; nd->link = new_link; nd->data = new_data;}; Now all the other functions get simplified : void add_beg(struct node *head, int new_data) {insertBefore(head, new_data);}; void add_at_end(struct node *head, int new_data) {struct node *nd = head; while (nd->link != nd) {nd = nd->link;}; insertBefore(nd, new_data);}; void add_at_position(struct node *head, int new_data, in pos) {struct node *nd = head; --pos; while (nd->link != nd && pos > 0) {nd = nd->link; --pos;}; insertBefore(nd, new_data);};
@beyond39414 жыл бұрын
how much more content remains in this course
@Family_123622 жыл бұрын
Bro that code is not compiling
@programacionpse35203 жыл бұрын
sir can you help me how to understand easily code of data structure From South india
@rumanajabeen6080 Жыл бұрын
Does this program execute or any errors in this program..??!!