How to remove loop from a Singly Linked List? | Floyd Cycle Detection Algorithm | (Animation)
Vložit
- čas přidán 11. 02. 2021
- ►Full DSA Course - • Data Structures and Al...
►Follow me on Instagram - bit.ly/intrvwkckstrt
►Follow me on LinkedIn - bit.ly/fllwlkdn
►Enroll in the complete course: bit.ly/3W4qthg
►Source Code - github.com/dinesh-varyani/ds-...
►Download DSA Animation Slides - techready.in/courses/150-dsa-...
►Click here to subscribe - czcams.com/users/hubbersp...
Watch all my playlist here:
►Data Structures and Algorithms Course playlist: • Data Structures and Al...
►Mastering JUnit 5 - czcams.com/users/playlist?list...
►Mastering Mockito 3 - • Mockito 3 Tutorials
►Analysis of Algorithms - • Analysis of Algorithms
►Linked List Data Structures - • Linked List Data Struc...
►Array Data Structures - • Playlist
►Stack Data Structure - • Stack Data Structure
►Queue Data Structure - • Queue Data Structure
►Binary Tree Data Structure - • Binary Tree Data Struc...
►Graph Data Structure - • Graph Data Structure
►Binary Heap Data Structure - • Binary Heap Data Struc...
►Trie Data Structure - • Trie Data Structure
►Dynamic Programming Algorithms - • Dynamic Programming Al...
►Hashing Data Structures - • Hashing Data Structures
►Sorting and Searching - • Sorting and Searching
►String Algorithms - • String Algorithms
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 - Jak na to + styl
Please *Subscribe* and *Click Bell* 🔔🔔🔔 Icon for More Updates. To get *Data Structures and Algorithms* complete course for free please follow this link - czcams.com/play/PL6Zs6LgrJj3tDXv8a_elC6eT_4R5gfX4d.html
Awsome Dinesh !! I took your Data Structures course in Udemy 2 years back, and it really helped in strengthening my DS skills. Recently came to know via ur udemy mailer that you're making the course content free . And i see you're adding new content. Subscribing you without a thought !! Thank you 🙏
Thanks a lot !!! I was heartbroken by udemy recently ... So i unpublished courses from there and uploaded here for free ... Hopefully i get fanbase n money like i used to get on udemy ... Please share playlist with ur friends and colleagues.
@@itsdineshvaryani Sure . I always recommend it to everyone since i took it in Oct 2019 from Udemy . It made me take interest in DSA again . Your course way too simple to understand than Tim Buchalka's course on udemy, but i'm still not sure why its not that popular . I will suggest you to add more complex problems which people look for , in your simple manner that you teach and gather more connections on LinkedIn and share a video a day , that will help increase traffic to your channel may be .
Thanks !!! ... Yes i am adding more and more problems now.
Best series for DS & Algo. I am also 10 yrs java exp guy. Was looking for DS & Algo free course over CZcams with java implementation and found this. Hats Off To You Man..Excellent Work. GOD BLESS YOU :)
Thanks !!!
The Way of presenting the subject is awesome
Thanks
wow! thank you so much for this simplest and yet greatest explanation
Welcome !!!
ty.
Thanks sir
Welcome !!!
Nice sir
Thanks !!!
Nice
Thanks !!!
In method first we can provide slowptr.next.next=null in if condition
Sir going through your course its great . Is this enough for the preparation of dsa part in interviews I am in my third year and going to face placements soon plz guide me
it will give you insight abt DSA ... so that you are comfortable solving DSA problems ...
@@itsdineshvaryani thank u sir👍
❤️❤️❤️
thanks !!!
Hi, I tried it but it wont work for single loop in a linked list, Means it we only have like 4 elements in a loop cause detect loop returns the starting element and then it breaks the connection at 1st indext
Thats an edge case to be handled at start ... You just need to understand tail n loop logic ...
if node6 point to node1 then your code will fail
this code is not passing all the test cases on gfg practice platform
ok thanks for the update !!!
1 -> 2 -> 1 I think it will not work
Sir its not passing the test cases on gfg
make it pass by finding out the edge case
yes..
CODE NOT WORKING !!!!!!!!!!!!!!
REPLY with the proper code
can you check source code provided in desc of video ?