How to remove loop from a Singly Linked List? | Floyd Cycle Detection Algorithm | (Animation)

  Рет қаралды 17,972

Dinesh Varyani

Dinesh Varyani

Күн бұрын

Пікірлер: 35
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Please *Subscribe* and *Click Bell* 🔔🔔🔔 Icon for More Updates. To get *Data Structures and Algorithms* complete course for free please follow this link - kzbin.info/aero/PL6Zs6LgrJj3tDXv8a_elC6eT_4R5gfX4d
@shubhamagarwal1434
@shubhamagarwal1434 2 жыл бұрын
Best series for DS & Algo. I am also 10 yrs java exp guy. Was looking for DS & Algo free course over KZbin with java implementation and found this. Hats Off To You Man..Excellent Work. GOD BLESS YOU :)
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Thanks !!!
@srinivaschalamalasetti1877
@srinivaschalamalasetti1877 Жыл бұрын
The Way of presenting the subject is awesome
@itsdineshvaryani
@itsdineshvaryani Жыл бұрын
Thanks
@saurabhchaturvedi9267
@saurabhchaturvedi9267 3 жыл бұрын
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 🙏
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
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.
@saurabhchaturvedi9267
@saurabhchaturvedi9267 3 жыл бұрын
@@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 .
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Thanks !!! ... Yes i am adding more and more problems now.
@Orodoro21
@Orodoro21 2 жыл бұрын
wow! thank you so much for this simplest and yet greatest explanation
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Welcome !!!
@aryandubey4991
@aryandubey4991 2 жыл бұрын
In method first we can provide slowptr.next.next=null in if condition
@DolaLado
@DolaLado 2 жыл бұрын
ty.
@vantal4115
@vantal4115 3 жыл бұрын
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
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
it will give you insight abt DSA ... so that you are comfortable solving DSA problems ...
@vantal4115
@vantal4115 3 жыл бұрын
@@itsdineshvaryani thank u sir👍
@shashisaurabhsinha7502
@shashisaurabhsinha7502 3 жыл бұрын
Nice sir
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Thanks !!!
@sanjushekhawat6446
@sanjushekhawat6446 3 жыл бұрын
Thanks sir
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Welcome !!!
@wakeelmalik8387
@wakeelmalik8387 2 жыл бұрын
if node6 point to node1 then your code will fail
@abhishekranjan1094
@abhishekranjan1094 3 жыл бұрын
Nice
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Thanks !!!
@S__DhruvTrehan
@S__DhruvTrehan 2 жыл бұрын
this code is not passing all the test cases on gfg practice platform
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
ok thanks for the update !!!
@shubham8943
@shubham8943 2 жыл бұрын
Sir its not passing the test cases on gfg
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
make it pass by finding out the edge case
@DreamCrushBgm-26
@DreamCrushBgm-26 6 ай бұрын
yes..
@MANISHYADAV-dd4ug
@MANISHYADAV-dd4ug 3 жыл бұрын
❤️❤️❤️
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
thanks !!!
@huzaifaimran9468
@huzaifaimran9468 3 жыл бұрын
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
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Thats an edge case to be handled at start ... You just need to understand tail n loop logic ...
@eclipse7450
@eclipse7450 7 ай бұрын
1 -> 2 -> 1 I think it will not work
@rajitdas558
@rajitdas558 3 жыл бұрын
CODE NOT WORKING !!!!!!!!!!!!!! REPLY with the proper code
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
can you check source code provided in desc of video ?
Why Floyd's Cycle Detection algorithm works?
19:30
Dinesh Varyani
Рет қаралды 21 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 17 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 11 МЛН
NNPC APTITUDE TEST 2 || 2024 || MATH SECTION
18:43
Obasimatic Mathematics Academy
Рет қаралды 4
Insert a node in a Singly Linked List at a given position (Animation)
15:33
How to detect a loop in a Singly Linked List in Java? (Animation)
9:34
Remove Loop from Linked List | C++ | Java | Python
15:58
Ayushi Sharma
Рет қаралды 9 М.
Recursive PreOrder traversal of a Binary Tree in Java
26:06
Dinesh Varyani
Рет қаралды 61 М.
Detect and Remove Loop in Linked List || C++ || By Mohit Gupta
13:08
PhysicsMania-Mohit Gupta [IIT BHU]
Рет қаралды 4,6 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 17 МЛН