I love neso academy. I am fully support neso academy by heart and soul.
@rohans20023 жыл бұрын
Before watching the solution in the previous video, I'd tried the EXACT same thing and was confused why it didn't work. Glad I got the explanation here.
@RaviShankar-ow9pu4 жыл бұрын
Sir plzzz increase the frequency of lectures!! 💗💝💗💝
@Zero-ss6pn2 жыл бұрын
You're just awesome. I made this mistake and wasn't aware of this possibility. Kudos to you brother!! Keep producing good content. Thanks a lot
@srivallimadduri14894 жыл бұрын
Good evening sir! I usually use my Lappy to learn but l opened the playlist in my mobile just to like and support ur channel which helped me to understand DS in a better way 😊.... Waiting for ur next topics of ds sir... Lover for neso academy from Andhrapradesh
@srivallimadduri14894 жыл бұрын
@Dipen Rana l didn't get if l should consider it as a compliment or a comment....
@karthik93544 жыл бұрын
What do you mean by support?
@srivallimadduri14894 жыл бұрын
@@karthik9354 support may mean suggesting to few of my frnds which in turn increase the no. Of views to the channel
@nisha..sharma..85543 жыл бұрын
@@srivallimadduri1489 support from vizag
@Kotivana_926 күн бұрын
Your voice is making shiva thandavam in my ears
@shivanidalal28604 ай бұрын
Best material so far I came across for link list
@FaizanKhan-kn7op2 жыл бұрын
i did this mistake and stuck for 30 min in the code then i decide to continue the lecture and BOOM i got the solution😂
@aashishbhatt48884 жыл бұрын
Please be consistent sir 🙏🙏🙏🙏🙏🙏
@prabhaskoya2 жыл бұрын
Really really loved your content 💖💖💖💖
@daverussell40523 жыл бұрын
totaly clear my doubt in the last lecture
@Harshit-ju2iz Жыл бұрын
That's exactly the mistake I was making ;-; THANKS ALOT NESO!
@dipeshsamrawat79573 жыл бұрын
I love Neso Academy. 💝
@pratik__r__patil88384 жыл бұрын
Damn Good yarr ! Fantastic representation and Expalnation.. Sir , you are Great.. We support you sir ..we love THE NESO ACADEMY ... LOVE FROM the whole Maharashtra....
@sarcasticboy450711 ай бұрын
oh my god you are legend. i exactly though of this when i watched just previous video. thank you for saving my life !!! now i am clear otherwise i also though its not necessay to do head =
@rishikeshraj3252 Жыл бұрын
Sir I was also confuse about that i was thinking if I'm passing pointer to add_beg() then it is call by reference then why we should update the head. Thank your sir
@divyamarora7772 жыл бұрын
good evening sir, I am from tech background and I love it thank you love you
@souradipkumarsaha92674 жыл бұрын
Sir you are great...hoping next videos soon ..stay safe sir🙏
@lawrencemuthui Жыл бұрын
True and in the main function we are able to print the data of the now first node which is 3. Malloc in the add_beg() function allocate memory in the heap section which is available even after the function terminates. Should we free all the memory allocated at the end of the code?
@ambrishabhijatya78423 жыл бұрын
We could pass &head as a parameter to add_beg changing the type of the first argument to struct node** pointerToHead. Easier solution (perhaps a bad one?) would be to just put head in the global scope.
@saurabhkolapkar62774 жыл бұрын
Sir your lectures are awsomes Plz add the lectures of doubly linked list
@Manimeghanath11 ай бұрын
Thats the exact mistake i made b4 cing this video ........thanx buddy
@orijeetmukherjee93924 жыл бұрын
amazing work!!!
@brianfinch04 жыл бұрын
sir, please add subtitle for your videos it really helps, thanks
@beeanonymous50324 жыл бұрын
Linked stacks and queues application of linked list. Bro needed this. Can u make a video?
@prashantbhardwaj26753 жыл бұрын
hi neso academy...want to ask a question..we have allocated heap memory to head at the starting so it will not vanish out once the function will call of so how it could be pass by value..i m confused please explain.
@swrjidaimary38714 жыл бұрын
Sir Can you teach about system call using C like fork(), exec() etc on unix and for Windows CreateProcess (), WaitForSingleObject()
@swrjidaimary38714 жыл бұрын
Please sir include some basic idea about system call using c or c++
@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);};
@abiadhimoolam13919 ай бұрын
Sir pls provide english subtitles also sir
@evssaini3 жыл бұрын
what if we declare head as global variable? wont it be easy?
@killerqueen60233 жыл бұрын
I made same mistake, when performing this myself
@rugved45034 жыл бұрын
plzzz Plz add the lectures of doubly linked list
@A_sudden_stranger Жыл бұрын
I was doing this same mistakes 😢
@RohitRoy-cz2lo3 жыл бұрын
Can we use functions of both adding_node_at_end and adding_node_at_beginning to create our linked list,I have tried this and i am getting some error , can anyone guide me in this
@aditidana61593 жыл бұрын
just wow
@__Kuch_Bhi___9 ай бұрын
👍🙂
@Kim-rh9gtАй бұрын
Double pointer
@snatamkamila88213 жыл бұрын
grate
@DaiMoscv2 жыл бұрын
then how about we just return ptr instead of head
@AbcnaihauHnahUznnz3 жыл бұрын
While writing the code i made this mistake🤣🤣
@mohdmuqeem92914 жыл бұрын
Sir please increase time also.videos are too short
@leenasharma48094 жыл бұрын
Purse
@squidward742110 ай бұрын
Instead of returning head, you could give head to the "add_beg(&head)" as a double pointer, this way you don't give the value inside of head, but the actually reference to head. In this case the code inside the function add_beg does need accordingly. For readability your way is certainly better. -edit nvm, you talk about this in the next video of the playlist.