Тёмный

Reverse a Single Linked List 

Neso Academy
Подписаться 2,7 млн
Просмотров 267 тыс.
50% 1

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

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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, RU-vid 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 RU-vid.
@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..:)
@pragyasingh5880
@pragyasingh5880 3 года назад
this is most simplest and easily explanation of this question imo. Thanks a lot!
@orlandotigers3168
@orlandotigers3168 Год назад
watching it from USA. i never had a teacher who explain so good!! kudos to him
@mdghazwanahmedkhan8092
@mdghazwanahmedkhan8092 26 дней назад
Man what do you do by the way?
@sergion_brayen
@sergion_brayen Год назад
you are the best teacher ever and this playlist is so underatted
@Drill-ing
@Drill-ing 4 года назад
Great Explainer and great voice 🔊🔊🔊
@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.
@innocentakram1477
@innocentakram1477 3 месяца назад
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 🙏
@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
@ashishmadan5700
@ashishmadan5700 3 года назад
You made it Easy !! Thanks man for such a quality content !
@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.
@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.
@vamsiswaroopv549
@vamsiswaroopv549 8 месяцев назад
Excellent explanation. But I would suggest to slow down the algorithm part a little bit
@buckyrobert6570
@buckyrobert6570 Год назад
This is by far the best explanation I have found on the internet.
@prajwalgowda6206
@prajwalgowda6206 3 года назад
I am a huge fan of is voice and teaching
@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
@kajalmondal9745
@kajalmondal9745 4 года назад
Sir is it possible to complete the data structures series before gate 2021?
@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
@pranavbakare8922
@pranavbakare8922 4 года назад
Sir Continued seriously super excited about further vidioes. Your teaching nailed the data structures
@amhikonkani1766
@amhikonkani1766 Год назад
What an explanation. Just amazing !!!
@satyaprakash4598
@satyaprakash4598 4 года назад
I am waiting for recursive approach.
@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.
@nirjala8962
@nirjala8962 Год назад
I have fallen in love with this guy and the subject❤❤❤
@jalareddy9335
@jalareddy9335 Год назад
Kudos. Excellent teaching ..
@Andre-ij8ft
@Andre-ij8ft 3 года назад
Thank you very much! I think you've just saved me
@angelosorte1
@angelosorte1 Год назад
Best explanation ever!
@ajayt2054
@ajayt2054 Год назад
Very good explanation thanks lot😘
@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.
@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 ?
@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
@viveksuman9600
@viveksuman9600 3 года назад
the best I could find. Thanks for making it easy :)
@robot67799
@robot67799 Год назад
Very helpful 💚
@aiswaryakumarsahoo1008
@aiswaryakumarsahoo1008 4 года назад
Sir please upload complete data structure
@dipeshsamrawat7957
@dipeshsamrawat7957 3 года назад
I love Neso Academy. 💝
@sabbysays
@sabbysays 4 года назад
Sir please upload more videos on Data Structures 🙏
@kutchve8198
@kutchve8198 4 года назад
Love from Nepal
@rohankumarshah5679
@rohankumarshah5679 3 года назад
This videos just cleared my doubt
@markkithinji2666
@markkithinji2666 11 месяцев назад
I didnt get a thing, but I really enjoyed it😂. Very well presented with good illutrations
@himanshujain5670
@himanshujain5670 Год назад
superb explanation
@preethammm4660
@preethammm4660 7 месяцев назад
Thanking you whole heartedly 🎉
@tienphamngoc8937
@tienphamngoc8937 Год назад
Nice It's too easy to understand
@tay_la14
@tay_la14 Год назад
thank you that was really helpful
@ThamaraiselvamT
@ThamaraiselvamT 2 года назад
This is really helpful
@Rajkillofficial
@Rajkillofficial 6 месяцев назад
Sir please explain it in RESURSIVE APPRAOCH
@SarraDebhane
@SarraDebhane 7 месяцев назад
Thank you from algeria
@bhuvanamadhanbhuvanamadhan
@bhuvanamadhanbhuvanamadhan 4 месяца назад
Could youbplease explain DSA in python program
@venkateswarluvenkateswarlu7022
@venkateswarluvenkateswarlu7022 3 года назад
Big fan of Neso Academy
@gautamgarg7377
@gautamgarg7377 4 года назад
Temp (last node) Temp2 (2nd last node) temp->link=temp2 temp2=*temp
@dev1ledits715
@dev1ledits715 10 месяцев назад
very efficent video ty
@eeeitguy4655
@eeeitguy4655 3 года назад
why cant we reverse the data instead of reversing the node i think both make the same sense
@rupalipradhan9743
@rupalipradhan9743 11 месяцев назад
"Thank you sir!" °-° -from a CS student in Odisha
@_Dev_prajapati
@_Dev_prajapati Год назад
Thank you so much sir 👌
@reverbism
@reverbism 2 года назад
Thank You
@IsaDemir-zu7fd
@IsaDemir-zu7fd 11 месяцев назад
add subtitles please
@varunpatil5270
@varunpatil5270 Год назад
Sir .... Does the code remains same if we use concept of double pointers ????
@incrdble9704
@incrdble9704 Год назад
11:09 instead of [head = prev; return head;] we can just do [return prev;]
@ahmetkarakartal9563
@ahmetkarakartal9563 3 года назад
thank you so much
@dibyajyoti_47
@dibyajyoti_47 3 года назад
Thanks mate.
@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?
@yadavkrishna5255
@yadavkrishna5255 Год назад
Sir,i found very difficult to get this logic by myself , how to build such logic mind?
@anjurjadhav1175
@anjurjadhav1175 4 года назад
Sir it's very good but It is discontinue, Yesterdays class was about the apptitude & reasoning
@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?
@amhikonkani1766
@amhikonkani1766 Год назад
Only one word "best"
@GauravKumar-pl5ki
@GauravKumar-pl5ki 10 месяцев назад
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 10 месяцев назад
auch ! it's not a circular link list 😅😅
@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....
@bismawaheed5537
@bismawaheed5537 8 месяцев назад
Can u plz reverse the linklist using array plz...
@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
@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++
@ishwarreddy8820
@ishwarreddy8820 16 дней назад
what is the use
@abhishekgadewar4616
@abhishekgadewar4616 3 года назад
can we pass head by address here?
@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.
@chugilc
@chugilc 4 года назад
Good One 🔥
@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
@AnkitMishra-hd5uu
@AnkitMishra-hd5uu 3 года назад
But what if we have 100 nodes
@jr_jeet
@jr_jeet 2 года назад
awesome
@devd_rx
@devd_rx Год назад
why do they say linked list reversal is hard
@23cash86
@23cash86 2 года назад
Neso Academy X Neso University XD
@gamingwithindian8492
@gamingwithindian8492 2 года назад
WOW 🔥
@naolfekadu6101
@naolfekadu6101 Год назад
you could have used better variable names to make it more intutitive, but still good job
@suryas1616
@suryas1616 2 года назад
Legend
@wog4299
@wog4299 2 года назад
In my college they are still teaching how to use variable and here I am reversing a single linked list.
@ashwiniverma1147
@ashwiniverma1147 3 года назад
You yourself understand... :)
@sudheerjalli4707
@sudheerjalli4707 4 года назад
Plz upload nxt videos
@ضحكتكتهمنا-ط3ر
@ضحكتكتهمنا-ط3ر 3 года назад
please subtitle arabic (translate arabic)i need it necessary pls
@zivroy2473
@zivroy2473 4 года назад
Please complete sir .i beg you
@rohitshrivastava4318
@rohitshrivastava4318 3 года назад
GFG explained better this concept
@adityagodghate4760
@adityagodghate4760 2 года назад
yoyo
@madar1
@madar1 2 года назад
too fast
@PavanKalyan-ig2bp
@PavanKalyan-ig2bp 2 года назад
😯😯😯🧐🧐🧐🧐👏👏👏👏
@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 5 месяцев назад
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
Просмотров 66 тыс.
Пчёлы некроманты.
00:46
Просмотров 24 тыс.
Mcdonalds cups and ball trick 🤯🥤 #shorts
00:25
Просмотров 484 тыс.
L9. Reverse a LinkedList | Iterative and Recursive
32:42
Deleting the Entire Single Linked List
6:06
Просмотров 79 тыс.
LeetCode was HARD until I Learned these 15 Patterns
13:00
Junior Developer Interviews in 2024 Be Like
1:52
Просмотров 20 тыс.
Learning C# In A Week... Otherwise I Fail University
9:04