Reverse a Single Linked List

  Рет қаралды 273,166

Neso Academy

Neso Academy

Күн бұрын

Пікірлер: 120
@kundankulkarni1728
@kundankulkarni1728 4 жыл бұрын
Golden channel for CS students... As I am a CS student Neso Academy is my real university that I can depend upon.
@VinyZikss
@VinyZikss 2 жыл бұрын
Exactly. Go to class to see what teacher is teaching At home do exercises Whenever with any doubt or difficulties in a topic watch Neso Academy Repeat
@frankkkmate4267
@frankkkmate4267 3 жыл бұрын
"Thank you sir!" --from a CS student in China
@dibyajyoti_47
@dibyajyoti_47 3 жыл бұрын
but in China, KZbin is banned, right ?
@kunalgautam8312
@kunalgautam8312 3 жыл бұрын
@@dibyajyoti_47 vpn
@parthmalhotra4133
@parthmalhotra4133 Жыл бұрын
Lier
@kaashyeworkkarjaaye6880
@kaashyeworkkarjaaye6880 Жыл бұрын
@@parthmalhotra4133 yes bro
@duartechate856
@duartechate856 Жыл бұрын
Me too CS student from China.I’m here too bro 😂 our real university is KZbin.
@sameersrol
@sameersrol 4 жыл бұрын
Before watching this, had seen around 3-4 videos related to same question. But this gave me a very clear idea. Thank You.. My Best Wishes for you..:)
@orlandotigers3168
@orlandotigers3168 Жыл бұрын
watching it from USA. i never had a teacher who explain so good!! kudos to him
@mdghazwanahmedkhan8092
@mdghazwanahmedkhan8092 Ай бұрын
Man what do you do by the way?
@innocentakram1477
@innocentakram1477 4 ай бұрын
The one thing that is amazing in your lectures sir, that you explain the logic of every piece of code: How that works and all...I salute you for that Sir 🙏
@sergion_brayen
@sergion_brayen Жыл бұрын
you are the best teacher ever and this playlist is so underatted
@muralim3691
@muralim3691 10 ай бұрын
you're a doc, you reduced my headache by explaining it in such a way. great job please keep posting more and more videos
@pragyasingh5880
@pragyasingh5880 3 жыл бұрын
this is most simplest and easily explanation of this question imo. Thanks a lot!
@nishyu9101
@nishyu9101 2 жыл бұрын
Funny when i made the code it felt very difficult, now when you explained this, it doesn't sound so difficult. Will have to tryout this code for different cases. Thanks a lot
@Drill-ing
@Drill-ing 4 жыл бұрын
Great Explainer and great voice 🔊🔊🔊
@buckyrobert6570
@buckyrobert6570 Жыл бұрын
This is by far the best explanation I have found on the internet.
@shreyamishra7293
@shreyamishra7293 4 жыл бұрын
Sir please please make complete playlist of linked list. You are the only one who made me to understand data structure Please sir make complete playlist of linked list.
@pranavbakare8922
@pranavbakare8922 4 жыл бұрын
Best explaination with minimum steps!!!!! Thank you🙏👍✌
@pranavbakare8922
@pranavbakare8922 4 жыл бұрын
And one more thing I completed all operations in Linked list and now I am able to do that confidence Thank you!!!!!😃😄😁
@kutchve8198
@kutchve8198 4 жыл бұрын
loving the class had to comnt to boost your content.
@pranavbakare8922
@pranavbakare8922 4 жыл бұрын
Sir Continued seriously super excited about further vidioes. Your teaching nailed the data structures
@ashishmadan5700
@ashishmadan5700 3 жыл бұрын
You made it Easy !! Thanks man for such a quality content !
@prajwalgowda6206
@prajwalgowda6206 3 жыл бұрын
I am a huge fan of is voice and teaching
@vamsiswaroopv549
@vamsiswaroopv549 9 ай бұрын
Excellent explanation. But I would suggest to slow down the algorithm part a little bit
@sumitjain3938
@sumitjain3938 2 жыл бұрын
Okay! I need some cofee, now. WOW! So much to digest and brilliantly explained.
@WincentSimon
@WincentSimon 4 жыл бұрын
Sir awesome content! Good work Sir, you are proving all your haters wrong by bringing such awesome content. Kudos and hope you complete it soon! May God bless you abundantly!!
@lifeisgodlifeisgod3581
@lifeisgodlifeisgod3581 Жыл бұрын
Thanks best explanation
@jalareddy9335
@jalareddy9335 Жыл бұрын
Kudos. Excellent teaching ..
@amhikonkani1766
@amhikonkani1766 Жыл бұрын
What an explanation. Just amazing !!!
@markkithinji2666
@markkithinji2666 Жыл бұрын
I didnt get a thing, but I really enjoyed it😂. Very well presented with good illutrations
@nirjala8962
@nirjala8962 Жыл бұрын
I have fallen in love with this guy and the subject❤❤❤
@angelosorte1
@angelosorte1 Жыл бұрын
Best explanation ever!
@ajayt2054
@ajayt2054 Жыл бұрын
Very good explanation thanks lot😘
@akshitsanwal3548
@akshitsanwal3548 4 жыл бұрын
Sir please increase the frequency of videos.. Most of us are tptally dependent on you.great fan. Please drop your insta id....
@geekyprogrammer4831
@geekyprogrammer4831 3 жыл бұрын
you do understand it takes time, effort and cost to make such high quality course.
@robot67799
@robot67799 Жыл бұрын
Very helpful 💚
@abhashsingh1802
@abhashsingh1802 3 жыл бұрын
yaar ye @nesoacademy kitna awesome hai yaar
@deepanshuverma6791
@deepanshuverma6791 4 жыл бұрын
Hey neso academy Please bring the html css and java script course please there are lot of videos on youtube platform but your chnanel explanation is very nice so please bring it up
@himanshujain5670
@himanshujain5670 Жыл бұрын
superb explanation
@satyaprakash4598
@satyaprakash4598 4 жыл бұрын
I am waiting for recursive approach.
@Andre-ij8ft
@Andre-ij8ft 3 жыл бұрын
Thank you very much! I think you've just saved me
@tienphamngoc8937
@tienphamngoc8937 Жыл бұрын
Nice It's too easy to understand
@dipeshsamrawat7957
@dipeshsamrawat7957 3 жыл бұрын
I love Neso Academy. 💝
@kajalmondal9745
@kajalmondal9745 4 жыл бұрын
Sir is it possible to complete the data structures series before gate 2021?
@tay_la14
@tay_la14 Жыл бұрын
thank you that was really helpful
@kshitijchaudhary2871
@kshitijchaudhary2871 3 жыл бұрын
sir, I think before returning head pointer to main function, there should be one more statement i.e. prev=next, so as to release prev pointer.
@aiswaryakumarsahoo1008
@aiswaryakumarsahoo1008 4 жыл бұрын
Sir please upload complete data structure
@sabbysays
@sabbysays 4 жыл бұрын
Sir please upload more videos on Data Structures 🙏
@ThamaraiselvamT
@ThamaraiselvamT 2 жыл бұрын
This is really helpful
@rohankumarshah5679
@rohankumarshah5679 3 жыл бұрын
This videos just cleared my doubt
@preethammm4660
@preethammm4660 8 ай бұрын
Thanking you whole heartedly 🎉
@dev1ledits715
@dev1ledits715 11 ай бұрын
very efficent video ty
@farhanwarsame3766
@farhanwarsame3766 4 жыл бұрын
Thanks for another great video. I was asking if there’s a way to get (buy) file handling videos of C programming if I don’t have an android device? I am working on both C and data structures.
@kutchve8198
@kutchve8198 4 жыл бұрын
Love from Nepal
@viveksuman9600
@viveksuman9600 3 жыл бұрын
the best I could find. Thanks for making it easy :)
@rupalipradhan9743
@rupalipradhan9743 Жыл бұрын
"Thank you sir!" °-° -from a CS student in Odisha
@venkateswarluvenkateswarlu7022
@venkateswarluvenkateswarlu7022 3 жыл бұрын
Big fan of Neso Academy
@gautamgarg7377
@gautamgarg7377 4 жыл бұрын
Temp (last node) Temp2 (2nd last node) temp->link=temp2 temp2=*temp
@incrdble9704
@incrdble9704 Жыл бұрын
11:09 instead of [head = prev; return head;] we can just do [return prev;]
@_Dev_prajapati
@_Dev_prajapati Жыл бұрын
Thank you so much sir 👌
@reverbism
@reverbism 2 жыл бұрын
Thank You
@SarraDebhane
@SarraDebhane 8 ай бұрын
Thank you from algeria
@baristural
@baristural 2 жыл бұрын
Sir you didn't declared ptr in the program. When I try to run in compiler it doesn't work. how can I declare ptr ?
@ahmetkarakartal9563
@ahmetkarakartal9563 3 жыл бұрын
thank you so much
@Rajkillofficial
@Rajkillofficial 7 ай бұрын
Sir please explain it in RESURSIVE APPRAOCH
@dibyajyoti_47
@dibyajyoti_47 3 жыл бұрын
Thanks mate.
@anjurjadhav1175
@anjurjadhav1175 4 жыл бұрын
Sir it's very good but It is discontinue, Yesterdays class was about the apptitude & reasoning
@bhuvanamadhanbhuvanamadhan
@bhuvanamadhanbhuvanamadhan 5 ай бұрын
Could youbplease explain DSA in python program
@mrmakra-eo1kx
@mrmakra-eo1kx 4 жыл бұрын
Really good one I have tried to make something deferent by kinda swapping all the linked list one by one its kind of taking the head and put it on the tail and something....
@yadavkrishna5255
@yadavkrishna5255 Жыл бұрын
Sir,i found very difficult to get this logic by myself , how to build such logic mind?
@eeeitguy4655
@eeeitguy4655 3 жыл бұрын
why cant we reverse the data instead of reversing the node i think both make the same sense
@varunpatil5270
@varunpatil5270 Жыл бұрын
Sir .... Does the code remains same if we use concept of double pointers ????
@GauravKumar-pl5ki
@GauravKumar-pl5ki 11 ай бұрын
why can't we use group theory permutational group concept ,like as we see in first example we have a permutational group of order 3 thus let our initial link list be r then r^3 is e which is r itself but it's inverse is r^2 as r*r^2 is e thus by two or just one pointer we can solve this problem...
@GauravKumar-pl5ki
@GauravKumar-pl5ki 11 ай бұрын
auch ! it's not a circular link list 😅😅
@chugilc
@chugilc 4 жыл бұрын
Good One 🔥
@amhikonkani1766
@amhikonkani1766 Жыл бұрын
Only one word "best"
@jr_jeet
@jr_jeet 2 жыл бұрын
awesome
@cmway
@cmway 4 жыл бұрын
Super sir.shall you explain with a c++ program which includes single linked list as headerfile.using that headerfile, can we do all the operations of linked list?If it is possible then please explain it sir.Is there any predefined single linked list ADT available in c++.If it is available then please explain it with simple c++ program.Thanking you sir.
@sauravkumar7508
@sauravkumar7508 4 жыл бұрын
checkout @mycodeschool . He has taught DS in c++
@poornachandumarneni1068
@poornachandumarneni1068 9 ай бұрын
in the following peice of code at "11:37" code where we are setting first node link to null?, or my understanding is worng?
@ishankoul3023
@ishankoul3023 2 жыл бұрын
If i try to seek input from the user , (inserting element at the end) displays 0 and then the value. why am i getting a zero when i print it?
@Adityasharma-oe8zp
@Adityasharma-oe8zp 3 жыл бұрын
Why dont we first traverse the list in a function and then put address of last node in temp and then second last in temp 2 then put addresses in a reverse order
@IsaDemir-zu7fd
@IsaDemir-zu7fd 11 ай бұрын
add subtitles please
@bismawaheed5537
@bismawaheed5537 8 ай бұрын
Can u plz reverse the linklist using array plz...
@ishwarreddy8820
@ishwarreddy8820 Ай бұрын
what is the use
@Brlitzkreig
@Brlitzkreig 2 жыл бұрын
This guy is an amazing teacher but his accent is so funny
@devr4j
@devr4j Жыл бұрын
i mean it's his native accent like every country have
@anshikayadav7857
@anshikayadav7857 4 жыл бұрын
Sir please explain this:- We're using "struct node *_____; " so this means ___ will contain data & link too. So whenever we're creating any new pointer why don't we use int. Because if we're using struct node * then everytime it'll create a new node due to struct node data type. Please explain anyone can do so please.
@shelbys1533
@shelbys1533 3 жыл бұрын
Yes u r right
@starkendeavours7072
@starkendeavours7072 2 жыл бұрын
It's not like whenver you write struct node *, it'll also occupy memory of (int + struct node *). by writing only struct node * ptr, it'll create a pointer that can only store the address of Node type data. But if you use struct node *ptr = (struct node *)malloc(sizeof(struct node ) ), then only it'll actually request memeory from heap via malloc function by creating the memory instance of that node data-type.
@abhishekgadewar4616
@abhishekgadewar4616 3 жыл бұрын
can we pass head by address here?
@gamingwithindian8492
@gamingwithindian8492 2 жыл бұрын
WOW 🔥
@devd_rx
@devd_rx Жыл бұрын
why do they say linked list reversal is hard
@suryas1616
@suryas1616 2 жыл бұрын
Legend
@naolfekadu6101
@naolfekadu6101 Жыл бұрын
you could have used better variable names to make it more intutitive, but still good job
@AnkitMishra-hd5uu
@AnkitMishra-hd5uu 3 жыл бұрын
But what if we have 100 nodes
@piyushjoshi8125
@piyushjoshi8125 3 жыл бұрын
sir i am still confuse in ptr function mentioned inside main() which vedio i can find it ?
@piyushjoshi8125
@piyushjoshi8125 3 жыл бұрын
actually ptr loop
@wog4299
@wog4299 2 жыл бұрын
In my college they are still teaching how to use variable and here I am reversing a single linked list.
@sudheerjalli4707
@sudheerjalli4707 4 жыл бұрын
Plz upload nxt videos
@ashwiniverma1147
@ashwiniverma1147 3 жыл бұрын
You yourself understand... :)
@23cash86
@23cash86 2 жыл бұрын
Neso Academy X Neso University XD
@zivroy2473
@zivroy2473 4 жыл бұрын
Please complete sir .i beg you
@ضحكتكتهمنا-ط3ر
@ضحكتكتهمنا-ط3ر 3 жыл бұрын
please subtitle arabic (translate arabic)i need it necessary pls
@adityagodghate4760
@adityagodghate4760 2 жыл бұрын
yoyo
@rohitshrivastava4318
@rohitshrivastava4318 3 жыл бұрын
GFG explained better this concept
@madar1
@madar1 2 жыл бұрын
too fast
@PavanKalyan-ig2bp
@PavanKalyan-ig2bp 3 жыл бұрын
😯😯😯🧐🧐🧐🧐👏👏👏👏
@raghavachekuri7270
@raghavachekuri7270 4 жыл бұрын
You just completed 10% of syllabus just waste of time
@hi-xu5ee
@hi-xu5ee 4 жыл бұрын
Ha to bhai tu ek din me aise content lake dikha, bhai jab kuch acha mil raha ho to kadar karna sikho,sabar rakhoo
@WincentSimon
@WincentSimon 4 жыл бұрын
Nahi chahiye tho dekh hi mat na. Join kar le koi aur class ya khud se kar le. Hume chahiye tho Sir ko aise bol ke demotivate mat kiya kar!!
@VISHALHS-qw1hc
@VISHALHS-qw1hc Жыл бұрын
ease of explaining decreasing with every topic of linked list. in this video i felt uncomfortable with naming temp and temp2 and y u didnt use the names next and prev earlier in the video🥲 sorry for criticising and thank you for the good work🙂
@raw726
@raw726 6 ай бұрын
This code is wrong because while printing the list it makes first data as 0
@oxi1492
@oxi1492 Жыл бұрын
I do understand the method , only problem is i keep forgetting the Syntex 🥲
@santoshbhupati3579
@santoshbhupati3579 3 жыл бұрын
Great explained thankyou sir😍☺️☺️
Singly Linked List (Solved Problem 1)
5:01
Neso Academy
Рет қаралды 68 М.
L9. Reverse a LinkedList | Iterative and Recursive
32:42
take U forward
Рет қаралды 152 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 12 МЛН
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 80 МЛН
Deleting the Entire Single Linked List
6:06
Neso Academy
Рет қаралды 81 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 898 М.
2.8 Reverse a Linked List - Iterative Method | Data Structure Tutorials
18:44
Jenny's Lectures CS IT
Рет қаралды 427 М.
Application of Linked List (Addition of Two Polynomials)
17:29
Neso Academy
Рет қаралды 205 М.
Learning C# In A Week... Otherwise I Fail University
9:04
Learn Linked Lists in 13 minutes 🔗
13:24
Bro Code
Рет қаралды 325 М.
Reverse Linked List - Leetcode 206 - Linked Lists (Python)
8:02
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 12 МЛН