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

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 291

  • @rafsanmaruf2066
    @rafsanmaruf2066 Рік тому +28

    Your explaination technique and expression is very cool and fantastic. I am using your style to explain anything. Thank you.

  • @grindxignite
    @grindxignite Рік тому +77

    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 Рік тому +9

      This would be more easy, thank u

    • @dailydoseofmath
      @dailydoseofmath Рік тому +6

      yes that's what you should do , suppose you had 6-7 edges then his method will take forever

    • @DineshKumar-nm2jh
      @DineshKumar-nm2jh Рік тому +1

      true

    • @ayushiydvKG
      @ayushiydvKG 6 місяців тому

      yosh good way to tackle this problem. thnx bro!!!

    • @mahhingaminggate5028
      @mahhingaminggate5028 5 місяців тому +2

      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

  • @pranjalck
    @pranjalck 2 роки тому +15

    Now by your teaching, i am gaining confidence in this subject 🙅🏻‍♂️🥋

  • @alphagam3r933
    @alphagam3r933 Рік тому +22

    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 Рік тому +1

      same like mine thank you sir

    • @Bazriya-p1f
      @Bazriya-p1f 10 місяців тому

      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

  • @mohammadtofiqulislam1868
    @mohammadtofiqulislam1868 7 місяців тому +3

    Came with zero knowledge, leaving with confidence and proper explanation!! Thank you sir

  • @mujaffarbhati4750
    @mujaffarbhati4750 2 роки тому +164

    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 роки тому +15

      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 роки тому +3

      @@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 Рік тому +5

      There is no god except Allah ❤️

    • @rameenzubair4787
      @rameenzubair4787 Рік тому +3

      I testify that there is no God except ALLAH and Prophet Muhammad SAW is His last messenger.

  • @nirikshap.n9234
    @nirikshap.n9234 2 місяці тому +1

    Why are you so good at clearing all the concepts easily😭😭❤literally you saved me😻

  • @Mahin067
    @Mahin067 6 місяців тому +2

    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.

  • @codexcelai.
    @codexcelai. 2 роки тому +12

    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

  • @fxaawan1640
    @fxaawan1640 2 роки тому +15

    DIVIDED BY BORDERS
    UNITED BY UA-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😉 😀

    • @RB-rocks
      @RB-rocks Рік тому +2

      hardik or KL rahul?? lol

  • @yashdoctor399
    @yashdoctor399 10 днів тому

    Easy and simple explanation sir keep it up and make more videos like this so anyone can understand easily without any confusion

  • @shanzyjasmine6358
    @shanzyjasmine6358 2 роки тому +5

    U are the best teacher thank u so very much God bless u sir

  • @anjanadevi8070
    @anjanadevi8070 3 роки тому +52

    . 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 роки тому +3

      Yes you are right, always we have to see previous matrix instead of seeing graph everytime.

    • @chagantisubhash
      @chagantisubhash 2 роки тому +6

      Very true. It actually defeats the purpose of algorithm.

    • @manthankurhekar3752
      @manthankurhekar3752 Рік тому +1

      Indeed that's basically the essence of the algorithm. Avoiding re-visit to already calculated answer

  • @vikashdagar7225
    @vikashdagar7225 6 місяців тому +79

    Today is my final exam DAA

  • @kushal800
    @kushal800 2 роки тому +5

    For 2 years straight I didn't have courage to solve floyad warshall and TSP but coz this video I am confident

  • @ommaithani4455
    @ommaithani4455 2 роки тому +3

    Perfectly explained👌.

  • @xyz-pc3tl
    @xyz-pc3tl 3 роки тому +6

    Thanks a lot sir for your all hardwork 🙏🙏🙏

  • @I_am_Suraj2
    @I_am_Suraj2 3 місяці тому

    This man saves many people's life more than doctors 😅😅

  • @bobitadutta9954
    @bobitadutta9954 2 роки тому +1

    Thnq so much... Itna atche se samjhane ke liye...

  • @Abdul_Rahman11
    @Abdul_Rahman11 Рік тому +3

    Thanks you 🙏 sir your explanation is fantastic..

  • @ksingh8831
    @ksingh8831 Рік тому +15

    Tomorrow is my exam 😂 and iam coming for the study

    • @ayushmishra8084
      @ayushmishra8084 7 місяців тому +2

      Study English first😂

    • @MadhuLohkna
      @MadhuLohkna 6 місяців тому +1

      Mera bhi h Kal ka 😂😂😂😂😂

  • @aradhanamurarka2949
    @aradhanamurarka2949 2 роки тому

    Best teacher in the history of computer science

  • @arslankiani1
    @arslankiani1 2 роки тому +2

    ur all videos are excellent thank you sir love from Pakistan

  • @BhagatBhutale..
    @BhagatBhutale.. 8 місяців тому +1

    Video is useful 👍

  • @sakshamsinghrajput22
    @sakshamsinghrajput22 3 місяці тому

    Excellent #explaination by #gatesmashers 🇮🇳

  • @jishnudeeproy8778
    @jishnudeeproy8778 2 роки тому +4

    Thank you sir for explaining so nicely!
    Have my exam tomorrow 🙏🙏

  • @MrAditya-xm1pn
    @MrAditya-xm1pn Рік тому +1

    Thanks sir for amazing study experince.
    Literally nailed it SIR.

  • @mehnaz_anwar_
    @mehnaz_anwar_ 2 роки тому +1

    Omg thanku so so much for explaining this now my concept iss Soo clear by watching this❤️

  • @indrajeetprajapati720
    @indrajeetprajapati720 2 роки тому +1

    This is teacher very very Good sir
    I am very very undersand sir
    Thank you so much sir

  • @amitmaity9374
    @amitmaity9374 Рік тому +1

    Today is my cbsc exam and I can complete this unfinished chapter thanks to you. Thanks sir❤

  • @omyele9315
    @omyele9315 3 роки тому +3

    MySQL ka couse ❤️❤️❤️. I like your explanation along with example

  • @BipashaPal-qr6yh
    @BipashaPal-qr6yh 4 місяці тому

    Sir ur explanation is so clear

  • @Divya-bp8vy
    @Divya-bp8vy Рік тому +1

    I have no words for thanking you sir

    • @ayushpanwar3536
      @ayushpanwar3536 Рік тому

      Maybe just say "THANK YOU". That ought to summarise it.

  • @priyankabansode8702
    @priyankabansode8702 3 роки тому +13

    Thank you sir , All concept clear 😊

  • @rockiggo
    @rockiggo 2 роки тому

    Super,mindblowing,fantastic.

  • @Neha-ul2jt
    @Neha-ul2jt 2 роки тому +3

    Thanku sir ......
    All concept clear💯🙂👍

  • @Shivanisharma-mi7gy
    @Shivanisharma-mi7gy 2 роки тому +3

    I am very happy by seeing your all videos i have literally feel you are god of cs❤️😁

  • @XZYA4FHS59OP
    @XZYA4FHS59OP 3 місяці тому

    Fantastic and easy to learn ❤

  • @dance_zealous
    @dance_zealous 11 місяців тому

    Thankyou so much sir for such clearing concept videos that is also at free of cost🙏🙏

  • @Supercool7042
    @Supercool7042 2 роки тому

    you are gold for our backbenchers

  • @funandtechby08
    @funandtechby08 Рік тому +2

    Thank you sir ❤️
    Very easy explanation

  • @ammarabhatti8261
    @ammarabhatti8261 2 роки тому +2

    Thank you so much I have exam today and this help me alot 💕

  • @nayandudhat4635
    @nayandudhat4635 2 роки тому +1

    Thank you so much sir bahut aacha samjaya 🙏🙏

  • @hafizasairakanwal6705
    @hafizasairakanwal6705 2 роки тому

    Awesome sir g bohat zaberdast ap smjaty hy😇

  • @CrickyFizzz
    @CrickyFizzz Рік тому +2

    thank you so much SIR❤

  • @AVGLOKI1122
    @AVGLOKI1122 Рік тому

    Path bangaya hai sir mere dimag tak ❤

  • @PanchamAgarwal
    @PanchamAgarwal 2 роки тому

    very best teaching way

  • @vishugaming4024
    @vishugaming4024 Рік тому

    Great way of explainning

  • @pikachu3686
    @pikachu3686 2 роки тому +1

    beautiful explanation

  • @mufassirsayyed1882
    @mufassirsayyed1882 10 місяців тому +1

    Thank you so much sir🫡

  • @anshikasrivastava1295
    @anshikasrivastava1295 Рік тому

    Marvellous xplaination salute to sir

  • @MrKP-nm3qy
    @MrKP-nm3qy 2 роки тому +1

    Genuine Guru ji 🌝🌝

  • @pratyushtripathi1728
    @pratyushtripathi1728 10 місяців тому +1

    Maza aa gaya re baba 😂

  • @searchengine6925
    @searchengine6925 2 роки тому

    you are the great bro .life savior

  • @Rakshuuu_07
    @Rakshuuu_07 4 місяці тому

    Lagta hai baghwan ne apko hamare liye hi beji hein🥳 I have exams tmrw and mein pass ho jaungi😎 thanku sir🤗

  • @cartoonlover6010
    @cartoonlover6010 Рік тому +1

    Thank you so much sir ji what great lecture❤❤ you had served us thank you again for this kind of important knowledge .

  • @mayankuniyal1829
    @mayankuniyal1829 2 роки тому +1

    Sir very helpful vedio lecture 🙏

  • @ritiksolanki3519
    @ritiksolanki3519 9 місяців тому

    Very nice explanation ❤

  • @AadeshingaleOfficial-zl5fd
    @AadeshingaleOfficial-zl5fd 6 місяців тому +1

    Nice Sir 😊

  • @Hasnain_K_fans
    @Hasnain_K_fans 5 місяців тому

    Best VideoSir i am from Pakistan 🎉

  • @bhoslegovind9644
    @bhoslegovind9644 3 роки тому +1

    Great sir ...all concepts clear...

  • @narayanisharma4945
    @narayanisharma4945 6 місяців тому

    too good Sir!
    👏

  • @habibjan1203
    @habibjan1203 2 роки тому

    Thanks sir I am from Pakistan big fan you sir😊

  • @avdheshpal1
    @avdheshpal1 6 місяців тому +1

    15:35 major and important doubt of every student

  • @33_it_divyadeepbansal56
    @33_it_divyadeepbansal56 2 роки тому

    wonderfully taught

  • @amanafzal674
    @amanafzal674 3 роки тому +1

    Thank you sir really good explanation

  • @adityabhattacharyya5971
    @adityabhattacharyya5971 Рік тому

    fu**ing awesome explanation !!! amazing teacher

  • @cricketwithpriyan
    @cricketwithpriyan Рік тому

    Great learning

  • @TradewithAmmad
    @TradewithAmmad 3 місяці тому +1

    I used to watch your videos , today I saw my professor taking you lecture 😅😂

  • @oudarjatanmoy384
    @oudarjatanmoy384 3 роки тому

    Great great sir from bangladesh. Sare doubt clear hogaye.

  • @buddyyyy
    @buddyyyy 3 роки тому +1

    Thank you ❤️

  • @carnagegaming711
    @carnagegaming711 3 місяці тому

    Thank you ❤

  • @muhamadtalhach
    @muhamadtalhach 3 роки тому +2

    JazakAllah (May Allah reward you)

  • @bablufunnyvideos8945
    @bablufunnyvideos8945 Рік тому

    Ur best sir🔥

  • @sangramsahu1931
    @sangramsahu1931 2 роки тому

    Thank you again sir❤️

  • @nu...123
    @nu...123 5 місяців тому

    Thank you sir ❤

  • @muskanmathur-c9d
    @muskanmathur-c9d 8 місяців тому

    Varun sir respect button 🔘😎

  • @adityakushwah623
    @adityakushwah623 Рік тому +1

    Semester saver....🔥

  • @kapilchaudhary1079
    @kapilchaudhary1079 2 роки тому +1

    subscribe bahut jaruri h nice dialog

  • @Chhanendrasahu88
    @Chhanendrasahu88 9 місяців тому

    thank you sir 🙏🙏🙏

  • @shivambhanu2757
    @shivambhanu2757 2 роки тому

    Very very helpful.

  • @Hetansi-d8s
    @Hetansi-d8s 5 місяців тому

    Thank you sirr 😊

  • @WealthGenzZ
    @WealthGenzZ 3 роки тому +1

    Great as always 🙂

  • @gauravgaliyawala8183
    @gauravgaliyawala8183 2 роки тому +1

    Loo jiii....great explanation 👍

  • @dhruvpatel5072
    @dhruvpatel5072 3 роки тому +1

    Thanks 👍😊

  • @than0s869
    @than0s869 2 роки тому

    best explanation.. :) Thank you sir

  • @jainendrasingh817
    @jainendrasingh817 3 роки тому +1

    Thank you Sir ❤️

  • @bikrammajumdar5454
    @bikrammajumdar5454 6 місяців тому

    Thanks sir ❤

  • @akshatthakur57
    @akshatthakur57 Рік тому

    Thank you

  • @Sonu-jx6jl
    @Sonu-jx6jl 2 роки тому +1

    Thanks sir ❤

  • @ayushiydvKG
    @ayushiydvKG 6 місяців тому

    thnx sir ji

  • @natashakhanna6058
    @natashakhanna6058 11 місяців тому

    You are besttt 🤩

  • @abdulazeemofficial1
    @abdulazeemofficial1 2 роки тому

    gzb yrrr best of best

  • @codejanvi
    @codejanvi 3 місяці тому

    subscribers bht jaroori hai ,,,,the most funniest line .i like it when sir say this ....

  • @akhilesh2213
    @akhilesh2213 2 роки тому

    You are star sir 💯

  • @tejsinhbhosale2568
    @tejsinhbhosale2568 Рік тому

    Excellent 💯

  • @safamarwa9
    @safamarwa9 Рік тому

    Better understand 😊

  • @sjjayaswal7621
    @sjjayaswal7621 Рік тому

    Nice explaination

  • @professorpoke
    @professorpoke Рік тому +1

    Watching this video at 10:05. My exam started at 10:00 i.e. 5 min ago.

  • @saptarshichattopadhyay8234
    @saptarshichattopadhyay8234 5 місяців тому

    Thanks ❤❤❤❤❤