Find the Duplicate Number | With Proof | Follow Up Qns | Hare And Tortoise | Leetcode - 287

preview_player
Показать описание
This is the 58th Video on our Arrays (1-D & 2-D) Playlist.
In this video we will try to solve a very famous array Problem - Find the Duplicate Number (Leetcode-287).

I will explain the intuition so easily that you will never forget and start seeing this as cakewalk EASYYY.
We will do live coding after explanation and see if we are able to pass all the test cases.

Problem Name : Find the Duplicate Number
Company Tags : AMAZON

╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge#leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview#interviewtips #interviewpreparation #interview_ds_algo #hinglish #github #design #data #google #video #instagram #facebook #leetcode #computerscience #leetcodesolutions #leetcodequestionandanswers #code #learning #dsalgo #dsa #newyear2024
Рекомендации по теме
Комментарии
Автор

bhai oppp your explanation is very clear and cut!!!
keep it up bhai🎯

AnadiHirpara
Автор

No one in this world can solve it in a 45 mins interview with optimal solution without already seen this question.it easy only if you done it before

zfenbkr
Автор

one guy said"you are blind if you can't meet a real guru" now im no more a blind.

csechandrasekhar
Автор

What a explanation, what a voice, what a content, what a way to tackle the problem everything is perfect ...

ajinkyakhete
Автор

One word - LEGEND
I agree, this is indeed the DSA king.

EB-otuu
Автор

Bro in our country we need Teachers like you pls I'm requesting you to not bring any paid course like every other youtubers do. Only Bcoz of some great persons like you we're able to get educated properly. The day I get a job I promise you that I'll join your YT channel.🙏
BTW I'm the same guy who created LinkedIn bcoz of you.😊😎

manimanohar_
Автор

bhai aap bhot acche se samjhate ho yrr.. i am sure aapko offer ayenge honge alag alag jagah se padhane k liye but i request ki pls aap utube pr hi raho aur agar kahi jao v tbb v apne ututbe pr content daalna band mat krna bhai.

pranavpranjal
Автор

The best analogy for hare and tortoise is 2 runners(slow and fast) on a circular track. They will eventually meet at some point in a circular track.

AJ-fbpk
Автор

Bhaiya your approaches becomes very helpful to all those facing problems in solving questions and their understanding 🙌 Keep Going

dhananjayshende
Автор

That means whenever there is a cycle and the value of the array is within the range of indices we can use this algo to detect the cycle and to find it's starting point.

sarthakyadav
Автор

You are definitely much better than overrated Stiver. You deserve millions of subscribers. Keep Going🙌

kusumjoshi
Автор

19/30 (no travel ticket used till now) Thank you. congratulations for 9k subs

taneyasoni
Автор

Thanks for teaching slow = nums[slow];
fast = nums[nums[fast]]; i never know that this thing also present .

rajkrishanmahajan
Автор

A channel i can always rely on. I try to approach questions like you by making stories now 😊

RohitRaj-hlji
Автор

Could not understand the mathematical part! Now its very clear.... Thanks for the wonderful explanation

MaanyaSekhri
Автор

Wow ! I have just understood hare and tortoise works but how it is working, no big youtuber was able to explain it. Today only I understood

deepjyotidas
Автор

what a timing just opened the channel for the ek number explanation ❤

jagadeeshp
Автор

Sukriya!!

Solving with 3-4 approaches gives more confidence.

k-CE-OmkarPathak
Автор

The best intuition and explanation of the slow fast technique I have seen till now.

sauravchandra
Автор

I am grateful to god that i found your channel ❤

iWontFakeIt