L-5.8: Floyd Warshall Working with example | All Pair Shortest Path Algorithm
ฝัง
- เผยแพร่เมื่อ 25 มิ.ย. 2024
- 👉Subscribe to our new channel: / @varunainashots
0:00 - Floyd Warshall Working
1:07 - Distance Metrix (D0)
3:07 - Distance Metrix (D1)
9:40 - Distance Metrix (D2)
14:25 - Distance Metrix (D3)
21:20 - Distance Metrix (D4)
►Design and Analysis of algorithms (DAA) (Complete Playlist):
• Design and Analysis of...
Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
► Operating System :
• Operating System (Comp...
►Database Management System:
• DBMS (Database Managem...
► Theory of Computation
• TOC(Theory of Computat...
►Artificial Intelligence:
• Artificial Intelligenc...
►Computer Networks (Complete Playlist):
• Computer Networks (Com...
►Computer Architecture (Complete Playlist):
• Computer Organization ...
►Structured Query Language (SQL):
• Structured Query Langu...
►Discrete Mathematics:
• Discrete Mathematics
►Compiler Design:
• Compiler Design (Compl...
►Number System:
• Number system
►Cloud Computing & BIG Data:
• Cloud Computing & BIG ...
►Software Engineering:
• Software Engineering
►Data Structure:
• Data Structure
►Graph Theory:
• Graph Theory
►Programming in C:
• C Programming
►Digital Logic:
• Digital Logic (Complet...
---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on TH-cam: / gatesmashers
►Subscribe to our new channel: / @varunainashots
► Like our page on Facebook: / gatesmashers
► Follow us on Instagram: / gate.smashers
► Follow us on Instagram: / varunainashots
► Follow us on Telegram: t.me/gatesmashersofficial
► Follow us on Threads: www.threads.net/@gate.smashers
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: gatesmashers2018@gmail.com
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)
This would be more easy, thank u
yes that's what you should do , suppose you had 6-7 edges then his method will take forever
true
yosh good way to tackle this problem. thnx bro!!!
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
Your explaination technique and expression is very cool and fantastic. I am using your style to explain anything. Thank you.
Now by your teaching, i am gaining confidence in this subject 🙅🏻♂️🥋
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, 😭❣❤
same like mine thank you sir
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
Came with zero knowledge, leaving with confidence and proper explanation!! Thank you sir
Thanks a lot sir for your all hardwork 🙏🙏🙏
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.
U are the best teacher thank u so very much God bless u sir
All my doubts are cleared by your video you are best teach thank you so much☺❤
use doubt nahi bolte aapko topic hi nahi aata tha na
DIVIDED BY BORDERS
UNITED BY TH-cam
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😉 😀
hardik or KL rahul?? lol
Thanks sir for amazing study experince.
Literally nailed it SIR.
Great sir ...all concepts clear...
Person is God Literally watch his videos as last minute and I bet your topics will be covered as quick as a wink.
God
یعنی خدا
مسلمان اللہ تعالیٰ کے سوا کسی کو بھی خدا نہیں کہتے میرے بھائی
پلیز یہ کمنٹ delete کردیں پلیز
Just for correcting you dear brother۔۔۔I'm not criticizing you۔۔۔pleasedon't mind
And if you want to see explainatiion then
یہ کتاب دیکھ لیں ایک بار پلیز بھائی 🙏🏻👇🏻
"کفریہ کلمات کے بارے میں سوال جواب"
شکریہ بھائی
@@Sayyed_Sana you are right.
@@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
There is no god except Allah ❤️
I testify that there is no God except ALLAH and Prophet Muhammad SAW is His last messenger.
Thankyou so much sir for such clearing concept videos that is also at free of cost🙏🙏
Perfectly explained👌.
. 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.
Yes mam u r right
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.
Yes you are right, always we have to see previous matrix instead of seeing graph everytime.
Very true. It actually defeats the purpose of algorithm.
Indeed that's basically the essence of the algorithm. Avoiding re-visit to already calculated answer
Super,mindblowing,fantastic.
Omg thanku so so much for explaining this now my concept iss Soo clear by watching this❤️
Thank you so much sir ji what great lecture❤❤ you had served us thank you again for this kind of important knowledge .
Thanks you 🙏 sir your explanation is fantastic..
Great as always 🙂
Thank you sir ❤️
Very easy explanation
Today is my cbsc exam and I can complete this unfinished chapter thanks to you. Thanks sir❤
Thanku sir ......
All concept clear💯🙂👍
Tomorrow is my exam 😂 and iam coming for the study
Study English first😂
Mera bhi h Kal ka 😂😂😂😂😂
Today is my final exam DAA
Which is you university can you give question paper
Girl same
Tomorrow is my exam
@@saurojitdas4793also me
makaut 😅
I have no words for thanking you sir
☺
Maybe just say "THANK YOU". That ought to summarise it.
Thank you sir really good explanation
best explanation.. :) Thank you sir
Thank you Sir ❤️
Path bangaya hai sir mere dimag tak ❤
TYSM FOR THIS !
Thank you so much I have exam today and this help me alot 💕
you are gold for our backbenchers
Thank you ❤️
beautiful explanation
you are the great bro .life savior
Marvellous xplaination salute to sir
For 2 years straight I didn't have courage to solve floyad warshall and TSP but coz this video I am confident
Thank you sir , All concept clear 😊
Thank you sir for explaining so nicely!
Have my exam tomorrow 🙏🙏
did u pass it?
Thank you again sir❤️
Excellent 💯
wonderfully taught
thank you so much SIR❤
Awesome sir g bohat zaberdast ap smjaty hy😇
ur all videos are excellent thank you sir love from Pakistan
Thnq so much... Itna atche se samjhane ke liye...
Video is useful 👍
best one sir thank you
Great learning
Thanks sir 😁💛
too good Sir!
👏
Sir very helpful vedio lecture 🙏
Thankyou very much sir
Thank you sir..
Thank you sir😊
Thanks 👍😊
Great way of explainning
This is teacher very very Good sir
I am very very undersand sir
Thank you so much sir
sir in D1 matrix , the 4-3 = 9 || but shortest path is 4-2 & 2-3 = 2+1 = 3... which one is correct?
in D1 we have to use only the 1st vertex(1), we cant use 2
Thank you so much sir
Best teacher in the history of computer science
Very very helpful.
Thank you sir
Thank you so much sir bahut aacha samjaya 🙏🙏
Thank you
Great ❤️🔥🙏👍
Maza aa gaya re baba 😂
Thanks sir ❤
Thank you sir ❤
thank you sir :-)
Thank you so much sir🫡
Ur best sir🔥
MySQL ka couse ❤️❤️❤️. I like your explanation along with example
You are star sir 💯
Thanks.💕💕
very best teaching way
Great great sir from bangladesh. Sare doubt clear hogaye.
Nice Sir 😊
Thank you sirr 😊
Thanks.
thanks 👍
Thanks ❤❤❤❤❤
thank u sir
Semester saver....🔥
Thnq so much sir 🙏
Sir,can you please explain why you removed or delete previous video and in which topic it is based on and is it important or not?
Nice explaination
thanku sir
thank you sir 🙏🙏🙏
You are besttt 🤩
gzb yrrr best of best
Genuine Guru ji 🌝🌝
JazakAllah (May Allah reward you)
Thank you
thnx sir ji
13:28 for(4-1)we can also go through (4-3)and (3-1)that is 9+4 which is less than infinity so why u go through ?(4-2)and (2-1)??
Very nice explanation ❤
I am very happy by seeing your all videos i have literally feel you are god of cs❤️😁
Nice