L-5.8: Floyd Warshall Working with example | All Pair Shortest Path Algorithm

  Рет қаралды 752,241

Gate Smashers

Gate Smashers

Күн бұрын

Пікірлер: 313
@rafsanmaruf2066
@rafsanmaruf2066 2 жыл бұрын
Your explaination technique and expression is very cool and fantastic. I am using your style to explain anything. Thank you.
@grindxignite
@grindxignite 2 жыл бұрын
You can also use the previous table for the minimum weight here. for example in D4 if we want [3:2] we can search for values of [3:4]+[4:2] from previous table(i.e D3)
@pramantomar822
@pramantomar822 Жыл бұрын
This would be more easy, thank u
@dailydoseofmath
@dailydoseofmath Жыл бұрын
yes that's what you should do , suppose you had 6-7 edges then his method will take forever
@DineshKumar-nm2jh
@DineshKumar-nm2jh Жыл бұрын
true
@ayushiydvKG
@ayushiydvKG 8 ай бұрын
yosh good way to tackle this problem. thnx bro!!!
@mahhingaminggate5028
@mahhingaminggate5028 6 ай бұрын
Indeed a Very fast way , but Might not always give the minimum result in everycase e.g in the same D4 matrix , if we want to go from 1:3 via 4 Then 3:4 + 4:3 of d3 gives 5+3=8 which is not the shortest path , but 3 is the shortest path
@mohammadtofiqulislam1868
@mohammadtofiqulislam1868 8 ай бұрын
Came with zero knowledge, leaving with confidence and proper explanation!! Thank you sir
@pranjalck
@pranjalck 2 жыл бұрын
Now by your teaching, i am gaining confidence in this subject 🙅🏻‍♂️🥋
@alphagam3r933
@alphagam3r933 Жыл бұрын
sir like literally you are the greatest, Tomorrow is my discrete math exam and i've already done all the topics except this one, so sir once again thank you thank you so much, Teachers like you should be in every single college in india, 😭❣❤
@manoz.881
@manoz.881 Жыл бұрын
same like mine thank you sir
@Bazriya-p1f
@Bazriya-p1f Жыл бұрын
Mujhe samjh ni aaya ya samjhya sahi ni h .....🙄 Y topic clear ni hoga iska matlab mera bcz m to aap pr hi depend hu
@nirikshap.n9234
@nirikshap.n9234 4 ай бұрын
Why are you so good at clearing all the concepts easily😭😭❤literally you saved me😻
@codexcelai.
@codexcelai. 2 жыл бұрын
All my doubts are cleared by your video you are best teach thank you so much☺❤
@aakashchari600
@aakashchari600 Жыл бұрын
use doubt nahi bolte aapko topic hi nahi aata tha na
@mujaffarbhati4750
@mujaffarbhati4750 2 жыл бұрын
Person is God Literally watch his videos as last minute and I bet your topics will be covered as quick as a wink.
@Sayyed_Sana
@Sayyed_Sana 2 жыл бұрын
God یعنی خدا مسلمان اللہ تعالیٰ کے سوا کسی کو بھی خدا نہیں کہتے میرے بھائی پلیز یہ کمنٹ delete کردیں پلیز Just for correcting you dear brother۔۔۔I'm not criticizing you۔۔۔pleasedon't mind And if you want to see explainatiion then یہ کتاب دیکھ لیں ایک بار پلیز بھائی 🙏🏻👇🏻 "کفریہ کلمات کے بارے میں سوال جواب" شکریہ بھائی
@perioguatexgaming1333
@perioguatexgaming1333 2 жыл бұрын
@@Sayyed_Sana you are right.
@waron1240
@waron1240 Жыл бұрын
​@@Sayyed_Sana tum bewkoof hi rahoge uska matlab tha ki sir ne itna accha padaya ki esa laga iswar ne padaya h. Tumari buddhi sahi me ghutne me h
@Abdul_Rahman11
@Abdul_Rahman11 Жыл бұрын
There is no god except Allah ❤️
@rameenzubair4787
@rameenzubair4787 Жыл бұрын
I testify that there is no God except ALLAH and Prophet Muhammad SAW is His last messenger.
@Mahin067
@Mahin067 7 ай бұрын
If you didn't exist, I wouldn't have passed my BSc i Engineering. You're making this world a better place, sir. Love from Bangladesh.
@BhagatBhutale..
@BhagatBhutale.. 10 ай бұрын
Video is useful 👍
@vikashdagar7225
@vikashdagar7225 8 ай бұрын
Today is my final exam DAA
@raiderpsk9690
@raiderpsk9690 7 ай бұрын
Which is you university can you give question paper
@niharikakalita6215
@niharikakalita6215 7 ай бұрын
Girl same
@saurojitdas4793
@saurojitdas4793 7 ай бұрын
Tomorrow is my exam
@subhadipgoswami6329
@subhadipgoswami6329 7 ай бұрын
​@@saurojitdas4793also me
@RAHUL-dg3rl
@RAHUL-dg3rl 6 ай бұрын
makaut 😅
@shanzyjasmine6358
@shanzyjasmine6358 2 жыл бұрын
U are the best teacher thank u so very much God bless u sir
@user-de4vl4tq8w
@user-de4vl4tq8w 20 күн бұрын
Thank you so much sir you are so sweet ☺️❤
@xyz-pc3tl
@xyz-pc3tl 3 жыл бұрын
Thanks a lot sir for your all hardwork 🙏🙏🙏
@ommaithani4455
@ommaithani4455 2 жыл бұрын
Perfectly explained👌.
@anjanadevi8070
@anjanadevi8070 3 жыл бұрын
. Excellent class...One suggestion for improving speed. while manual calculation.It will be easy to observe the just previous matrix corresponding cell values instead of scanning the graph each time for better path. Already the min possible values between 2 nodes are updated and entered in the previous matrix. Therefor no need to again get the values through complete possible options from the graph.
@sumitsihag786
@sumitsihag786 3 жыл бұрын
Yes mam u r right
@rakibhasan2552
@rakibhasan2552 2 жыл бұрын
I was thinking about it before seeing the comment. But I was not sure whether will that work every time or not! Thank you ma'am for clearing my doubt.
@MANISHKUMAR-fr8eh
@MANISHKUMAR-fr8eh 2 жыл бұрын
Yes you are right, always we have to see previous matrix instead of seeing graph everytime.
@chagantisubhash
@chagantisubhash 2 жыл бұрын
Very true. It actually defeats the purpose of algorithm.
@manthankurhekar3752
@manthankurhekar3752 Жыл бұрын
Indeed that's basically the essence of the algorithm. Avoiding re-visit to already calculated answer
@fxaawan1640
@fxaawan1640 2 жыл бұрын
DIVIDED BY BORDERS UNITED BY KZbin Lots of respect and LOVE FROM PAKISTAN❤❤ I saw many videos of u n you explained each n everything very well specially that analysis of algorithm's topic. keep doing this always n God bless u always😊😊 FUN FACT: YOU RESEMBLE CRICKETER HARDIK PANDYA😉 😀
@RB-rocks
@RB-rocks Жыл бұрын
hardik or KL rahul?? lol
@bobitadutta9954
@bobitadutta9954 2 жыл бұрын
Thnq so much... Itna atche se samjhane ke liye...
@yashdoctor399
@yashdoctor399 2 ай бұрын
Easy and simple explanation sir keep it up and make more videos like this so anyone can understand easily without any confusion
@Abdul_Rahman11
@Abdul_Rahman11 Жыл бұрын
Thanks you 🙏 sir your explanation is fantastic..
@I_b__ra__him
@I_b__ra__him 20 күн бұрын
Easy to understand. Thank you.
@MrAditya-xm1pn
@MrAditya-xm1pn Жыл бұрын
Thanks sir for amazing study experince. Literally nailed it SIR.
@arslankiani1
@arslankiani1 2 жыл бұрын
ur all videos are excellent thank you sir love from Pakistan
@CrickyFizzz
@CrickyFizzz 2 жыл бұрын
thank you so much SIR❤
@mufassirsayyed1882
@mufassirsayyed1882 Жыл бұрын
Thank you so much sir🫡
@Divya-bp8vy
@Divya-bp8vy 2 жыл бұрын
I have no words for thanking you sir ☺
@ayushpanwar3536
@ayushpanwar3536 Жыл бұрын
Maybe just say "THANK YOU". That ought to summarise it.
@hafizasairakanwal6705
@hafizasairakanwal6705 2 жыл бұрын
Awesome sir g bohat zaberdast ap smjaty hy😇
@sakshamsinghrajput22
@sakshamsinghrajput22 5 ай бұрын
Excellent #explaination by #gatesmashers 🇮🇳
@priyankabansode8702
@priyankabansode8702 3 жыл бұрын
Thank you sir , All concept clear 😊
@Neha-ul2jt
@Neha-ul2jt 2 жыл бұрын
Thanku sir ...... All concept clear💯🙂👍
@pratyushtripathi1728
@pratyushtripathi1728 11 ай бұрын
Maza aa gaya re baba 😂
@AVGLOKI1122
@AVGLOKI1122 Жыл бұрын
Path bangaya hai sir mere dimag tak ❤
@kushal800
@kushal800 3 жыл бұрын
For 2 years straight I didn't have courage to solve floyad warshall and TSP but coz this video I am confident
@Supercool7042
@Supercool7042 2 жыл бұрын
you are gold for our backbenchers
@rockiggo
@rockiggo 2 жыл бұрын
Super,mindblowing,fantastic.
@indrajeetprajapati720
@indrajeetprajapati720 2 жыл бұрын
This is teacher very very Good sir I am very very undersand sir Thank you so much sir
@XZYA4FHS59OP
@XZYA4FHS59OP 5 ай бұрын
Fantastic and easy to learn ❤
@aradhanamurarka2949
@aradhanamurarka2949 2 жыл бұрын
Best teacher in the history of computer science
@mehnaz_anwar_
@mehnaz_anwar_ 2 жыл бұрын
Omg thanku so so much for explaining this now my concept iss Soo clear by watching this❤️
@BipashaPal-qr6yh
@BipashaPal-qr6yh 6 ай бұрын
Sir ur explanation is so clear
@nayandudhat4635
@nayandudhat4635 2 жыл бұрын
Thank you so much sir bahut aacha samjaya 🙏🙏
@PanchamAgarwal
@PanchamAgarwal 2 жыл бұрын
very best teaching way
@MrKP-nm3qy
@MrKP-nm3qy 2 жыл бұрын
Genuine Guru ji 🌝🌝
@ashishsingh_31
@ashishsingh_31 25 күн бұрын
A quick tip: We can use the previous matrices for checking if their exists a shorter path. Eg. if in any D3 if we have to find 2-4, we can use the previous matrix (2-3)+(3-4) and check if it is lesser than 2-4 or not. That would already be the shortest in the previous matrix and hence we need not to check other paths
@gauravgaliyawala8183
@gauravgaliyawala8183 2 жыл бұрын
Loo jiii....great explanation 👍
@omyele9315
@omyele9315 3 жыл бұрын
MySQL ka couse ❤️❤️❤️. I like your explanation along with example
@I_am_Suraj2
@I_am_Suraj2 5 ай бұрын
This man saves many people's life more than doctors 😅😅
@AadeshingaleOfficial-zl5fd
@AadeshingaleOfficial-zl5fd 8 ай бұрын
Nice Sir 😊
@searchengine6925
@searchengine6925 2 жыл бұрын
you are the great bro .life savior
@funandtechby08
@funandtechby08 Жыл бұрын
Thank you sir ❤️ Very easy explanation
@dance_zealous
@dance_zealous Жыл бұрын
Thankyou so much sir for such clearing concept videos that is also at free of cost🙏🙏
@anshikasrivastava1295
@anshikasrivastava1295 2 жыл бұрын
Marvellous xplaination salute to sir
@pikachu3686
@pikachu3686 2 жыл бұрын
beautiful explanation
@ksingh8831
@ksingh8831 Жыл бұрын
Tomorrow is my exam 😂 and iam coming for the study
@ayushmishra8084
@ayushmishra8084 8 ай бұрын
Study English first😂
@MadhuLohkna
@MadhuLohkna 8 ай бұрын
Mera bhi h Kal ka 😂😂😂😂😂
@jishnudeeproy8778
@jishnudeeproy8778 2 жыл бұрын
Thank you sir for explaining so nicely! Have my exam tomorrow 🙏🙏
@masteradvisor594
@masteradvisor594 Жыл бұрын
did u pass it?
@bhoslegovind9644
@bhoslegovind9644 3 жыл бұрын
Great sir ...all concepts clear...
@amitmaity9374
@amitmaity9374 Жыл бұрын
Today is my cbsc exam and I can complete this unfinished chapter thanks to you. Thanks sir❤
@vishugaming4024
@vishugaming4024 Жыл бұрын
Great way of explainning
@narayanisharma4945
@narayanisharma4945 8 ай бұрын
too good Sir! 👏
@Hasnain_K_fans
@Hasnain_K_fans 7 ай бұрын
Best VideoSir i am from Pakistan 🎉
@mayankuniyal1829
@mayankuniyal1829 2 жыл бұрын
Sir very helpful vedio lecture 🙏
@ritiksolanki3519
@ritiksolanki3519 11 ай бұрын
Very nice explanation ❤
@33_it_divyadeepbansal56
@33_it_divyadeepbansal56 2 жыл бұрын
wonderfully taught
@cricketwithpriyan
@cricketwithpriyan Жыл бұрын
Great learning
@Viveksha133
@Viveksha133 10 ай бұрын
9:14 sir ham 4 se 2 or fir 2 se 3 jate tb to minimum path milta hame jo ki 9 se kam hota
@cartoonlover6010
@cartoonlover6010 Жыл бұрын
Thank you so much sir ji what great lecture❤❤ you had served us thank you again for this kind of important knowledge .
@ammarabhatti8261
@ammarabhatti8261 2 жыл бұрын
Thank you so much I have exam today and this help me alot 💕
@buddyyyy
@buddyyyy 3 жыл бұрын
Thank you ❤️
@carnagegaming711
@carnagegaming711 4 ай бұрын
Thank you ❤
@sangramsahu1931
@sangramsahu1931 2 жыл бұрын
Thank you again sir❤️
@dhruvpatel5072
@dhruvpatel5072 3 жыл бұрын
Thanks 👍😊
@Shivanisharma-mi7gy
@Shivanisharma-mi7gy 2 жыл бұрын
I am very happy by seeing your all videos i have literally feel you are god of cs❤️😁
@nu...123
@nu...123 6 ай бұрын
Thank you sir ❤
@Chhanendrasahu88
@Chhanendrasahu88 11 ай бұрын
thank you sir 🙏🙏🙏
@bablufunnyvideos8945
@bablufunnyvideos8945 Жыл бұрын
Ur best sir🔥
@Hetansi-d8s
@Hetansi-d8s 7 ай бұрын
Thank you sirr 😊
@amanafzal674
@amanafzal674 3 жыл бұрын
Thank you sir really good explanation
@MsDhoni-q4m
@MsDhoni-q4m Ай бұрын
In college didn't understand anything. Just understand the d0 then nothing. And now all understand because of you thanku sir ❤🥺✨
@saptarshichattopadhyay8234
@saptarshichattopadhyay8234 7 ай бұрын
Thanks ❤❤❤❤❤
@adityabhattacharyya5971
@adityabhattacharyya5971 Жыл бұрын
fu**ing awesome explanation !!! amazing teacher
@jainendrasingh817
@jainendrasingh817 3 жыл бұрын
Thank you Sir ❤️
@adityakushwah623
@adityakushwah623 Жыл бұрын
Semester saver....🔥
@Sonu-jx6jl
@Sonu-jx6jl 2 жыл бұрын
Thanks sir ❤
@WealthGenzZ
@WealthGenzZ 3 жыл бұрын
Great as always 🙂
@habibjan1203
@habibjan1203 2 жыл бұрын
Thanks sir I am from Pakistan big fan you sir😊
@bikrammajumdar5454
@bikrammajumdar5454 8 ай бұрын
Thanks sir ❤
@shivambhanu2757
@shivambhanu2757 2 жыл бұрын
Very very helpful.
@sadeghkhosravi
@sadeghkhosravi Жыл бұрын
Thanks.💕💕
@muhamadtalhach
@muhamadtalhach 3 жыл бұрын
JazakAllah (May Allah reward you)
@GateSmashers
@GateSmashers 3 жыл бұрын
Thank you
@tejsinhbhosale2568
@tejsinhbhosale2568 2 жыл бұрын
Excellent 💯
@muskanmathur-c9d
@muskanmathur-c9d 10 ай бұрын
Varun sir respect button 🔘😎
@abdulazeemofficial1
@abdulazeemofficial1 2 жыл бұрын
gzb yrrr best of best
@Rakshuuu_07
@Rakshuuu_07 5 ай бұрын
Lagta hai baghwan ne apko hamare liye hi beji hein🥳 I have exams tmrw and mein pass ho jaungi😎 thanku sir🤗
@allgoodcontents
@allgoodcontents 3 жыл бұрын
Thanks sir 😁💛
@manjurawat1826
@manjurawat1826 2 жыл бұрын
sir in D1 matrix , the 4-3 = 9 || but shortest path is 4-2 & 2-3 = 2+1 = 3... which one is correct?
@dev_ik
@dev_ik 2 жыл бұрын
in D1 we have to use only the 1st vertex(1), we cant use 2
@akshatthakur57
@akshatthakur57 2 жыл бұрын
Thank you
@than0s869
@than0s869 2 жыл бұрын
best explanation.. :) Thank you sir
@natashakhanna6058
@natashakhanna6058 Жыл бұрын
You are besttt 🤩
@BishnuPasa
@BishnuPasa 2 жыл бұрын
best one sir thank you
@Bittusingh1364bittu
@Bittusingh1364bittu 2 жыл бұрын
Thnq so much sir 🙏
L-4.10: Dijkstra's Algorithm - Single Source Shortest Path - Greedy Method
15:49
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
Sach ki raat with Anubhav arora | Harsh Beniwal
22:56
Harsh Beniwal
Рет қаралды 1 МЛН
7.3 Traveling Salesman Problem - Branch and Bound
24:42
Abdul Bari
Рет қаралды 1,9 МЛН
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 399 М.
4.2 All Pairs Shortest Path (Floyd-Warshall) - Dynamic Programming
14:13
L-4.7: What is Spanning Tree with Examples in Hindi | Algorithm
7:12
Gate Smashers
Рет қаралды 1 МЛН