Рет қаралды 231,040
In this Video, we are going to solve important questions based on Linked List.
There is a lot to learn, Keep in mind “ Mnn bhot karega k chor yrr apne se nahi hoga ya maza nahi aara, Just ask 1 question “ Why I started ? “
[For 20% Discount ] Visit Coding Ninjas: bit.ly/3cfdKTe
Discord Server Link: / discord
Course Flow: whimsical.com/dsa-4-placement...
Slides Link: drive.google.com/file/d/1dp1V...
Code Links: github.com/loveBabbar/CodeHel...
Questions Links:
- Detect & Remove Loop in Linked List: bit.ly/3rSdTDo
Do provide you feedback in the comments, we are going to make it best collectively.
Connect with me here:
Instagram: / lovebabbar1
Twitter: / lovebabbar3
Telegram Group Link: Love Babbar CODE HELP
telegram.me/lovebabbercodehelp
My Editor: rishu.rsing...
Intro Sequence: We have bought all the required Licenses of the Audio, Video & Animation used.
Timestamps:
00:00 - Introduction
02:17 - Promotion
03:09 - Approach #1 - Detect Cycle
06:05 - Code Approach #1 - Detect Cycle
14:40 - Approach #2 - Floyd Cycle Detection
17:10 - Code Approach #2 - Floyd Cycle Detection
21:31 - why this works ?
25:30 - Approach #3 - find starting node of Loop
28:35 - Proof - why this works ?
34:40 - Code Approach #3 - find starting node of Loop
37:42 - Approach #4 - Remove Loop from Linked List
38:48 - Code Approach #4 - Remove Loop from Linked List
45:40 - Merging all Logic - to detect & remove Loop
48:10 - Adding NULL Checks
49:33 - Homework and Summary
#DSABusted #LoveBabbar