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

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии • 317

  • @rafsanmaruf2066
    @rafsanmaruf2066 2 года назад +38

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

  • @nabbubhati25
    @nabbubhati25 6 часов назад

    You are only one who teaches us this dangerous topics in just few minutes.... Thank you so much😊

  • @alphagam3r933
    @alphagam3r933 Год назад +24

    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 Год назад

      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

  • @pranjalck
    @pranjalck 2 года назад +16

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

  • @grindxignite
    @grindxignite 2 года назад +83

    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 8 месяцев назад

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

    • @mahhingaminggate5028
      @mahhingaminggate5028 7 месяцев назад +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

  • @mohammadtofiqulislam1868
    @mohammadtofiqulislam1868 9 месяцев назад +6

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

  • @mujaffarbhati4750
    @mujaffarbhati4750 2 года назад +167

    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 Год назад +4

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

  • @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

  • @nirikshap.n9234
    @nirikshap.n9234 4 месяца назад +2

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

  • @Mahin067
    @Mahin067 8 месяцев назад +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.

  • @vikashdagar7225
    @vikashdagar7225 8 месяцев назад +119

    Today is my final exam DAA

  • @shanzyjasmine6358
    @shanzyjasmine6358 2 года назад +5

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

  • @xyz-pc3tl
    @xyz-pc3tl 3 года назад +6

    Thanks a lot sir for your all hardwork 🙏🙏🙏

  • @fxaawan1640
    @fxaawan1640 2 года назад +16

    DIVIDED BY BORDERS
    UNITED BY RUclips
    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

  • @BhagatBhutale..
    @BhagatBhutale.. 11 месяцев назад +1

    Video is useful 👍

  • @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

  • @Abdul_Rahman11
    @Abdul_Rahman11 Год назад +3

    Thanks you 🙏 sir your explanation is fantastic..

  • @ommaithani4455
    @ommaithani4455 2 года назад +3

    Perfectly explained👌.

  • @mehnaz_anwar_
    @mehnaz_anwar_ 2 года назад +1

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

  • @Divya-bp8vy
    @Divya-bp8vy 2 года назад +1

    I have no words for thanking you sir

    • @ayushpanwar3536
      @ayushpanwar3536 Год назад

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

  • @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

  • @bobitadutta9954
    @bobitadutta9954 2 года назад +1

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

  • @kushal800
    @kushal800 3 года назад +5

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

  • @MrAditya-xm1pn
    @MrAditya-xm1pn Год назад +1

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

  • @arslankiani1
    @arslankiani1 2 года назад +2

    ur all videos are excellent thank you sir love from Pakistan

  • @dance_zealous
    @dance_zealous Год назад

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

  • @jishnudeeproy8778
    @jishnudeeproy8778 2 года назад +4

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

  • @amitmaity9374
    @amitmaity9374 Год назад +1

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

  • @Neha-ul2jt
    @Neha-ul2jt 2 года назад +3

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

  • @priyankabansode8702
    @priyankabansode8702 3 года назад +13

    Thank you sir , All concept clear 😊

  • @CrickyFizzz
    @CrickyFizzz 2 года назад +2

    thank you so much SIR❤

  • @indrajeetprajapati720
    @indrajeetprajapati720 2 года назад +1

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

  • @AVGLOKI1122
    @AVGLOKI1122 Год назад

    Path bangaya hai sir mere dimag tak ❤

  • @funandtechby08
    @funandtechby08 Год назад +2

    Thank you sir ❤️
    Very easy explanation

  • @user-de4vl4tq8w
    @user-de4vl4tq8w Месяц назад +1

    Thank you so much sir you are so sweet ☺️❤

  • @mufassirsayyed1882
    @mufassirsayyed1882 Год назад +1

    Thank you so much sir🫡

  • @ammarabhatti8261
    @ammarabhatti8261 2 года назад +2

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

  • @I_am_Suraj2
    @I_am_Suraj2 6 месяцев назад

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

  • @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 .

  • @nayandudhat4635
    @nayandudhat4635 2 года назад +1

    Thank you so much sir bahut aacha samjaya 🙏🙏

  • @omyele9315
    @omyele9315 3 года назад +3

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

  • @pratyushtripathi1728
    @pratyushtripathi1728 Год назад +1

    Maza aa gaya re baba 😂

  • @I_b__ra__him
    @I_b__ra__him Месяц назад

    Easy to understand. Thank you.

  • @hafizasairakanwal6705
    @hafizasairakanwal6705 2 года назад

    Awesome sir g bohat zaberdast ap smjaty hy😇

  • @rockiggo
    @rockiggo 2 года назад

    Super,mindblowing,fantastic.

  • @aradhanamurarka2949
    @aradhanamurarka2949 2 года назад

    Best teacher in the history of computer science

  • @Supercool7042
    @Supercool7042 2 года назад

    you are gold for our backbenchers

  • @ashishsingh_31
    @ashishsingh_31 Месяц назад

    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

  • @XZYA4FHS59OP
    @XZYA4FHS59OP 6 месяцев назад

    Fantastic and easy to learn ❤

  • @MsDhoni-q4m
    @MsDhoni-q4m 2 месяца назад

    In college didn't understand anything. Just understand the d0 then nothing. And now all understand because of you thanku sir ❤🥺✨

  • @Shivanisharma-mi7gy
    @Shivanisharma-mi7gy 2 года назад +3

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

  • @BipashaPal-qr6yh
    @BipashaPal-qr6yh 6 месяцев назад

    Sir ur explanation is so clear

  • @anshikasrivastava1295
    @anshikasrivastava1295 2 года назад

    Marvellous xplaination salute to sir

  • @MrKP-nm3qy
    @MrKP-nm3qy 2 года назад +1

    Genuine Guru ji 🌝🌝

  • @PanchamAgarwal
    @PanchamAgarwal 2 года назад

    very best teaching way

  • @mayankuniyal1829
    @mayankuniyal1829 2 года назад +1

    Sir very helpful vedio lecture 🙏

  • @sakshamsinghrajput22
    @sakshamsinghrajput22 6 месяцев назад

    Excellent #explaination by #gatesmashers 🇮🇳

  • @pikachu3686
    @pikachu3686 2 года назад +1

    beautiful explanation

  • @ksingh8831
    @ksingh8831 Год назад +15

    Tomorrow is my exam 😂 and iam coming for the study

    • @ayushmishra8084
      @ayushmishra8084 9 месяцев назад +2

      Study English first😂

    • @MadhuLohkna
      @MadhuLohkna 8 месяцев назад +1

      Mera bhi h Kal ka 😂😂😂😂😂

  • @bhoslegovind9644
    @bhoslegovind9644 3 года назад +1

    Great sir ...all concepts clear...

  • @searchengine6925
    @searchengine6925 2 года назад

    you are the great bro .life savior

  • @vishugaming4024
    @vishugaming4024 Год назад

    Great way of explainning

  • @AadeshingaleOfficial-zl5fd
    @AadeshingaleOfficial-zl5fd 8 месяцев назад +1

    Nice Sir 😊

  • @ritiksolanki3519
    @ritiksolanki3519 11 месяцев назад

    Very nice explanation ❤

  • @narayanisharma4945
    @narayanisharma4945 9 месяцев назад

    too good Sir!
    👏

  • @sangramsahu1931
    @sangramsahu1931 2 года назад

    Thank you again sir❤️

  • @amanafzal674
    @amanafzal674 3 года назад +1

    Thank you sir really good explanation

  • @cricketwithpriyan
    @cricketwithpriyan Год назад

    Great learning

  • @33_it_divyadeepbansal56
    @33_it_divyadeepbansal56 2 года назад

    wonderfully taught

  • @carnagegaming711
    @carnagegaming711 5 месяцев назад

    Thank you ❤

  • @buddyyyy
    @buddyyyy 3 года назад +1

    Thank you ❤️

  • @Hasnain_K_fans
    @Hasnain_K_fans 8 месяцев назад

    Best VideoSir i am from Pakistan 🎉

  • @nu...123
    @nu...123 7 месяцев назад

    Thank you sir ❤

  • @gauravgaliyawala8183
    @gauravgaliyawala8183 2 года назад +1

    Loo jiii....great explanation 👍

  • @bablufunnyvideos8945
    @bablufunnyvideos8945 Год назад

    Ur best sir🔥

  • @Chhanendrasahu88
    @Chhanendrasahu88 11 месяцев назад

    thank you sir 🙏🙏🙏

  • @oudarjatanmoy384
    @oudarjatanmoy384 3 года назад

    Great great sir from bangladesh. Sare doubt clear hogaye.

  • @dhruvpatel5072
    @dhruvpatel5072 3 года назад +1

    Thanks 👍😊

  • @jainendrasingh817
    @jainendrasingh817 3 года назад +1

    Thank you Sir ❤️

  • @habibjan1203
    @habibjan1203 2 года назад

    Thanks sir I am from Pakistan big fan you sir😊

  • @Sonu-jx6jl
    @Sonu-jx6jl 2 года назад +1

    Thanks sir ❤

  • @Hetansi-d8s
    @Hetansi-d8s 8 месяцев назад

    Thank you sirr 😊

  • @Viveksha133
    @Viveksha133 10 месяцев назад +3

    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

  • @muhamadtalhach
    @muhamadtalhach 3 года назад +2

    JazakAllah (May Allah reward you)

  • @Rakshuuu_07
    @Rakshuuu_07 6 месяцев назад

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

  • @than0s869
    @than0s869 2 года назад

    best explanation.. :) Thank you sir

  • @shivambhanu2757
    @shivambhanu2757 2 года назад

    Very very helpful.

  • @bikrammajumdar5454
    @bikrammajumdar5454 9 месяцев назад

    Thanks sir ❤

  • @saptarshichattopadhyay8234
    @saptarshichattopadhyay8234 7 месяцев назад

    Thanks ❤❤❤❤❤

  • @adityakushwah623
    @adityakushwah623 Год назад +1

    Semester saver....🔥

  • @tejsinhbhosale2568
    @tejsinhbhosale2568 2 года назад

    Excellent 💯

  • @adityabhattacharyya5971
    @adityabhattacharyya5971 Год назад

    fu**ing awesome explanation !!! amazing teacher

  • @muskanmathur-c9d
    @muskanmathur-c9d 10 месяцев назад

    Varun sir respect button 🔘😎

  • @abdulazeemofficial1
    @abdulazeemofficial1 2 года назад

    gzb yrrr best of best

  • @akhilesh2213
    @akhilesh2213 3 года назад

    You are star sir 💯

  • @allgoodcontents
    @allgoodcontents 3 года назад +1

    Thanks sir 😁💛

  • @sadeghkhosravi
    @sadeghkhosravi Год назад

    Thanks.💕💕

  • @smilichoudary2014
    @smilichoudary2014 3 года назад +1

    Thanks sooooooo much sir🥰 from 🇵🇰

  • @BishnuPasa
    @BishnuPasa 2 года назад

    best one sir thank you

  • @harshilparmar5662
    @harshilparmar5662 2 месяца назад

    1 hour me meri exam hai thank you so much for this video....