Reverse a Singly Linked List in Java | Leetcode #206 | Data Structures & Algorithms

preview_player
Показать описание

Watch all my playlist here:

Want to land a software engineering job in the IT industry? This course - 'Visualizing Data Structures and Algorithms' is here to help. The course walks you through multiple Java algorithms, data structures problems, and their solutions with step by step visualizations, so that you are actually learning instead of blindly memorizing solutions.

The course covers in and outs of Data Structures and Algorithms in Java. Java is used as the programming language in the course. Students familiar with Javascript, Python, C#, C++, C, etc will also get to learn concepts without any difficulty. The implementation of various Algorithms and Data Structures have been demonstrated and implemented through animated slides. It covers many interview room questions on Algorithms and Data Structures. The questions and solutions are demonstrated by -

1. Animated slide. (To make visualization of algorithms faster)
2. Coding algorithm on IDE.

The course covers topics such as -
0. Algorithm Analysis
1. Arrays
2. Matrix
3. Singly Linked List
4. Doubly Linked List
5. Circular Singly Linked List
6. Stacks
7. Queues
8. Binary Tree
9. Binary Search Tree
10. Graphs
11. Priority Queues and Heaps
12. Recursion
13. Searching
14. Sorting
15. Strings
16. Trie Data Structure
17. Dynamic Programming
and many more ...

#dsa #algorithms #coding
Рекомендации по теме
Комментарии
Автор

Simply superb. I struggled to understand this concept even after seeing other animated code. Its crystal clear now. Thank You Techie. Long Live :) :)

anjimacherla
Автор

Thank you! I finally got it! Spend a lot of time trying to understand the logic. Your example is brilliant! We basically reverse every link back to the previous element!

imladyartist
Автор

Best series for DS & Algo. I am also 10 yrs java exp guy. Was looking for DS & Algo free course over YouTube with java implementation and found this. Hats Off To You Man...Excellent Work. GOD BLESS YOU :)

shubhamagarwal
Автор

I've been struggling this for hours. Thank you help me out. Very very good instruction!

zuofeiyi
Автор

private ListNode head change to private static ListNode head; your code will work smoothly and in display parameter write ListNode head.. nice videos sir i am Following it daily ❤️😊👏

shreyanshjain
Автор

Very simple demonstration and naming convention which makes it easy to understand. Thank you Dinesh!

arjunbhattacharya
Автор

Thank you 😊 so much for uploading a playlist of 230 videos for DSA in
It really means a lot to me...🙏🙏
Ur videos will never be replaced by any fee paid courses....dam

Channel_
Автор

don't know why your videos are so underrated, the explanation is simply amazing👌👌

abdulsamad-ccvz
Автор

This is a best way to traverse reverse. U made it understand clearly...Thanks

reshmah
Автор

I saw so many videos for this algorithm, but I just could not understand, understood in single go with ur explanation

JJ-zwsm
Автор

Hey, thank you so much!! Helped me a lot! Love from Kerala.

snehaelizebeth
Автор

hi dinesh nice explanation about reversing the linked in java
this is the best one which i have searched on youtube

suryasingh
Автор

Yet again I'm here for explanation 😭💓💓...thank you so much to make it simple💓...

akanksha
Автор

Hi Dinesh,
Have been following your content and I really appreciate the call stacks that you show whenever there is a recursive approach. I would be glad if you can explain the recursive approach to this problem using the call stack.

debanjanasantra
Автор

you use many part of ppt this is understandable any concept thanks you sir give me whole knowledge particular algorithm step by step
❣❣

VikasSingh-wpmv
Автор

Everytime he said moving ahead, I drank a sip for water

Jokes aside, the best explanation ever!

Danesh
Автор

Presentation and explanation is awesome

ramdeoyadav
Автор

I tried to solve this problem with the knowledge that I had in previous videos and I tried for maybe 6 hours but when I saw this solution I understood that I didn't even get a bit close to a solution. Thinking about the algorithm is harder than I imagined and Thx ofc for this valuable video Dinesh.

golcuk
Автор

Thank you for making this concept so much easier!

cameron
Автор

Took so much time to understand this, but finally. Thanks Dinesh

philb
join shbcf.ru