Sir At 6:39 I think for A^1[4,2] the value is 5 but not 8.
@OneLordeAnimeClips2 жыл бұрын
You are correct.
@MiEthioEntertainmentPLC2 жыл бұрын
@@OneLordeAnimeClips yep
@MiEthioEntertainmentPLC2 жыл бұрын
Ure crct
@shubhamchaudhari94752 жыл бұрын
Correct
@andrewsa79802 жыл бұрын
Crt
@karanpuri16176 жыл бұрын
you're a perfect example of how a CSE Teacher should be.
@sundaramsaroj20873 жыл бұрын
Very true!!!!!!
@justinjohnson77173 жыл бұрын
Correct 😀. This is my homework. I did my homework with the help of this video. 😁
@karanpuri16173 жыл бұрын
@@abhaykumarkanaujia abbe chuttad vo mujhe class mein ni padhata.
@karanpuri16172 жыл бұрын
@@abhaykumarkanaujia ab tujhe gadhe ko yahan bi ni samajh aaya to fir chhod hi de tu
@omsatpathy54552 жыл бұрын
@@karanpuri1617 chodh bhai wo production waala hai😂
@riley_69134 жыл бұрын
In less than 15 minutes you managed to clearly explain something my professor couldn't explain in an entire semester. Eventhough I'm late relative to when this video was uploaded, I still wanted to take this time to thank people like you, who provide an invaluable service to us all.
@devbhavsar77992 жыл бұрын
I think your syllabus is shit..my college does not teach me only warshall for 6 month
@ssshukla265 жыл бұрын
I am just passing my algo exams because of you sir. Thank you so much...
@jd70735 жыл бұрын
Dear sir, You have been an incredible help in my studies. I didn’t understand my courses very Well Because the teacher wasn’t the greatest, But Thanks to you i was able to pass all my finals! I am so grateful for these amazing video’s and i truly hope you Will continue to make such Good video’s! You are one of the best teachers when it comes to algorithms, bravo!
@lucutes2936 Жыл бұрын
ZOV
@Gowtham_11887 ай бұрын
Atleast you have teachers to teach, but in my college no lectures, no labs, no proper mid exams and they say it is as self learning , faculty don't even know subject to teach, we only go to college only for attendance.😢
@Sa-jx6rm Жыл бұрын
I have never been so jealous in my life How lucky they are whom have the opportunity to attend your classes . Truly, you are the best professor ever ! thank you so much
@tausifahmad20074 жыл бұрын
sir i think at 6:39 for A-1[4,2] there will be 5 not 8
@bhavikabharti664 жыл бұрын
Yes
@umernasir42174 жыл бұрын
Agreed.
@coolboy98iscool4 жыл бұрын
agreed
@abhipatel35124 жыл бұрын
Yes
@someonesoumya4 жыл бұрын
yess
@akaari3820 Жыл бұрын
Didn't understand anything in a 90 minutes lecture, immediately understood the algorithm after just 4 minutes of this video. You're legendary
@alexboiar53192 жыл бұрын
Apparently university is just an expensive subscription to youtube. Do unis find teachers who can't teach on purpose to get more money from people retaking the course? Sir, you've been saving my grades for 3 years now! I cannot thank you enough for making such great and easy to understand content. Thank you !
@JoseSanchez-vv1zd4 жыл бұрын
Greetings from southern California! You make learning algorithms so much easier and interesting! Thank you for your great work, Abdul!
@kamenpetkov192 Жыл бұрын
My Algorithms teacher was struggling big time with this one lol. And here, sir Abdul Bari explained it perfectly in 14 minutes. Great teacher!
@josepaul27256 жыл бұрын
Correction A1 matrix (4,2) = 5
@thomasjaszczult11185 жыл бұрын
Thank you. I thought I was going crazy
@majidmohammed54125 жыл бұрын
@@thomasjaszczult1118 same here haha
@onionindo5 жыл бұрын
same here 'hahaha
@tana367355 жыл бұрын
true
@rahulghosh48055 жыл бұрын
Right A1 is wrong
@ayushsharma3976 жыл бұрын
thanks, sir ! hats off to your efforts, you are providing quality lectures on algorithms.The best material available on youtube would say .
@sachinprabhuk62415 жыл бұрын
I just started watching your tutorials and even though they are a lil longer compared to other tutorial channels, its soo worth it. You have such awesome insight on the concepts. Thank you very much. Keep up the awesom work
@Gagandeep-ou7cs6 жыл бұрын
Btech walon ke liye masiha ho aap.
@hanumanjikabhakt91483 жыл бұрын
Sahi gall aa❤️❤️
@jr.shivendra42716 жыл бұрын
I shared a link of this video to my professor........and next day he thanked me.
@solidname90854 жыл бұрын
same with me
@saumyakraj14624 жыл бұрын
😂😂
@princeprasanth57054 жыл бұрын
Haha😂😂
@thefahad4494 жыл бұрын
Your students are lucky to have a professor like you. I wish all my professors thought CS like you do!
@Superalexandru24 жыл бұрын
Thank you professor for this wonderful explanation! Your videos mean so much to students all over the world. Greetings from Politehnica University of Bucharest ! (Romania)
@tabreazahmedzerdi98446 жыл бұрын
this type of lectures in India for us this is really heaven sir
@Pandreou2618 ай бұрын
you are saving my life.Thank you brother. Brother from different mother :)
@Joqu1nn4 жыл бұрын
This could not have been a more concise and clear lesson. Thank you sir
@EscapedConvict20073 жыл бұрын
The best thing happened to me today was stumbling upon this channel. I was just not getting the Floyd-Warshall explanation from wikipedia. The explanation here is crystal clear.
@jknair03 жыл бұрын
I wonder how this professors aren't the greatest programmers
@ptreeful2 жыл бұрын
When I first read about this algorithm, I understood nothing. After your explanation everything is clear, I love you!
@nickzervas49375 жыл бұрын
When comparing the Floyd Warshall method with the Djiktra method , i think there are 3 important things you should have pointed out : 1) The Djiktra method can be achieved with less complexity , especially with sparse graphs . By using binary heap as a priority queue we achieve O(n*m*logn) and with a fibonacci heap we achieve O( (m+nlogn)*n). 2) The main advantage of this method compared to Djiktra is that it can be implemented in a graph even if we have edges of negative weights ( as long as there are no negatives circles ) . Djiktra is highly limited by that aspect . 3) The best algorithm for this method which benefits both from 1,2 is : Johnsons . It can be achieved in O( (m+nlogn)*n) even if we have negative weights ( no negative cycles )
@aurobindamohapatra67812 жыл бұрын
Absolutely
@victorabhinav26524 ай бұрын
If there is a negative cycle ->one of the elements in the diagonal will be negative
@abraramin31463 ай бұрын
thanks bro you cleared my confusion.i had this doubt that what is the benefit of using this algorithm if the time complexity is not improving....the sir told in the begining that we can use dijktras algorithm but we will get O(n3) time complexity and at the end calculated the time complexity of this algorithm as n3 . so it didn't make any sense.
@JohnCena123556 жыл бұрын
Thank you so much! the instances of matrices is a unique way of teaching this and made me understand instantly! Much better than starting with the algorithm and following from there. Bravo!
@qiyueliang60893 жыл бұрын
Very good logic, very clear explanation, very nice example, makes me understand the idea immediately after watching the first half of the video without having to check other information. You're one of the best lecturers I've ever seen!
@MoHaMmADAlmo7taref2 жыл бұрын
Well, ngl, it's kind of impressive finding people who can really explain things even better than our teachers! I can finally rest assured if I missed something in the college.
@ifanwang17964 жыл бұрын
How come he makes every algorithm so simple to understand, much respect sir!
@who_fkn_cares5 жыл бұрын
Your ability to clearly explain algorithms is very effective. One of the best teachers I've come across. I look forward to your other videos.
@Virtualexist3 жыл бұрын
You are so humble, explanations are simple. This shows the skill of an awesome teacher- explaining anything such that anyone can understand. 🙏
@heyyou87712 жыл бұрын
in video - at 8:36 AND 8:38 they changed the value of A'[4][2]=5 , don't get confuse...
@rimshamahboob95822 жыл бұрын
👍
@dryoldcrabman68905 жыл бұрын
Dude you rock! I was going to end my life but after watching your video you gave me hope.
@saadnadaf83965 күн бұрын
Today was my exam for advanced data structures and algorithms and this problem was there in the exam. I am so grateful to you. Only because of this video I could solve the numerical. Thank you ❤
@TheGodfather1014 жыл бұрын
It says something and I mean REALLY says something about exceptional teaching ability when you have a teacher whose accent is this thick but is vastly superior in facilitation of core concepts than the most elegant English speaker. Mr Bari. You sir are the best teacher of computer science on the web. Period. There are people who pay tens of thousands of dollars for years only to fall short in what you can manage help us achieve in mere hours.
@_ethan_1234Ай бұрын
Thank you very much for uploading this video. Your videos have saved me from failing my CS exam. You are a great teacher
@uniqueelsa59592 жыл бұрын
I've exam in 2 hrs and now I understood why he's called the God of Algorithms
@marvel-mania3812 Жыл бұрын
Abdul Sir, You are the BEST teacher in the world. Thank you so much Sir.
@manomay70292 жыл бұрын
Wow! What a phenomenally straightforward explanation. Hats off to you, Abdul Bari sir!
@heshansandamal27312 жыл бұрын
This is a person who actually wants us to learn algorithms. Thank you very much.
@likhithareddy063Ай бұрын
Your ability to clearly explain algorithms is very effective. One of the best teachers I've come across. I look forward to your other videos.🥰
@monkeytrollhunter5 жыл бұрын
Thank you sir, I have final exam for my algorithms class next week. You're a great supplement for me when I try to understand the materials. Greetings from the U.S !
@CaptainLongNick4 жыл бұрын
I love you, you magnificent creature. You saved both my degree and love life.
@ipek25564 жыл бұрын
dude wait how did he save ur love life I'm genuinely curious haha
@himanshu804418 күн бұрын
I cant explain how relieved I am after seeing this video. Cleared all my doubts. Great teacher. Thank you so much sir ❤❤❤❤
@samsmith15836 жыл бұрын
Really appreciate your effort of such a patient explanation. This really helped me to understand the problem that I wouldn’t figured out maybe for hours merely by reading book.
@大盗江南5 ай бұрын
Congrats for having 1M+ subscribers!!! Super like ur videos! You are amazing!
@王冠信-o1c4 жыл бұрын
I am at almost the end of this semester. Every time after our teacher's lecture, I come here to build the comprehensive concept :")
@王冠信-o1c3 жыл бұрын
@@sohamshinde1258 From Taiwan, though
@anandkulkarni21116 жыл бұрын
Your teaching methodology approach explanation is 10/10. I wish I had a professor like you in college. I wouldn't have slept in classes.
@talhaiftikhar574 жыл бұрын
i submit my all assigment after watching your algorithm videos,thats really helpful.👍
@salmuuki4 ай бұрын
my main goal today was to understand this algorithm and it's crazy how you achieved to explain this in 15 min something that no uni teacher over here could do. crazy sir thank you
@ammarnusair5 жыл бұрын
You are teaching better than our teacher respect ,🙇🏻♂️
@sagarmehla37814 жыл бұрын
Awesome teaching style. Your teaching style have patience, which is most important for good teaching.
@tanpiby23 жыл бұрын
I am an undergrad student at IITD I was really having a tough time understanding this but this video made it so easy.....
@harsha1786 Жыл бұрын
Very good sir .While my sir explaining I was confused with the formula and made it difficult but u made it simple now ,even I understand formula simply
@TM-lf6os6 жыл бұрын
Mr. Bari: Thanks so much for your videos. They are very clear and concise, and help me learn these concepts way faster than my expensive professors ever could. You are a god send! Thank you so much for what you do.
@funshortsguru5 жыл бұрын
Abdul bari uplaods videos so long without applying any additional ads. Great Man!
@kunalchoudhary74775 жыл бұрын
correction A^1[4,2]=5.
@eurus75094 жыл бұрын
I was looking for this comment.I thought i made a mistake taking 5...ty
@mitali79594 жыл бұрын
@@eurus7509 same here
@srinjoydas13143 жыл бұрын
eggzacly , thanks
@vee-obsidian4 жыл бұрын
Respect, You made some of the concepts so easy to understand... That I should have known 20 years ago but skipped it in school because it was hard to grasp.. thank you very much for all the clarity... Amazing quality
@VarunPK_Vlogs6 жыл бұрын
Thank you sir I liked ur videos bkz you aren't only trying to make money by these videos. You are putting lot more efforts to teach us in an easy manner.
@a_bahador2 жыл бұрын
In one word. Brilliant! I wish you were my algorithm professor. I have an Algorithm exam in 2 days and if I hadn't seen your videos I would probably fail. You made this course super easy. Thank you so much for everything sir.
@gauravkarwa52415 жыл бұрын
Sir your amazing.....wish we had teacher like you in our college!
@hamzamuslim61413 жыл бұрын
I literally spent 1 hour right before my exam looking at your videos and understood everything I needed to know highly recommend the dijkstra prim kruskal floyd lessons were amazing.
@chetanktatia2297 Жыл бұрын
Guru Brahma guru Vishnu guru deva Maheshwara ,guru shakshat param bhrahma tasmayeshri gurudev namah ,.pranam sir , algorithms guru ji 🙏🙏deep respects sir
@saikarthik81023 ай бұрын
tomorrow exam.. today binging your lectures ..understanding each and every concept which would go on top of my head in classes ..hope i do well tomorrow
@tanujgehlot26005 жыл бұрын
6:40,Correction A1 matrix (4,2) = 5
@nusratfans395 жыл бұрын
he wasted my time for this mistake and even confused me
@_outcyrptolist5 жыл бұрын
@@nusratfans39 always check for comments when u face such issue
@HARIHaran-ks7wp5 жыл бұрын
@@_outcyrptolist true dat
@lucam98066 ай бұрын
Your explanations are the best. Every week I have to do exercises for the Algorithms and data structures lecture, your explanations help me so much. I really like how you showed the example first, then deduced the formula. It's a lot easier to understand this way. Greetings and big thank you from Germany.
@mudassarraza64486 ай бұрын
Nice to see people viewing from outside India as well. Gut!
@mochoye Жыл бұрын
I guess there is a small mistake at A1[4,2] will be 5 as A0[4,1]=2 and A0[1,2]=3. So 3+2=5.... Correct me if I am wrong 🙂
@anandiyer53613 жыл бұрын
you saved me from ruins...sir! Thanks so much...I was feeling totally down, having listened to my professor and unable to understand anything.
@gregprice30975 жыл бұрын
Thanks Abdul! See you at England v Holland.
@christophergithegi46895 жыл бұрын
Hi there Gregory how are you
@rohankhandelwal94823 жыл бұрын
I study at iit madras. And sir teach much much better than my professor
@soudafathimakurnool65216 жыл бұрын
Thank you very much sir for such a clear and efficient explaination.. I'm Truely benefiting from it!
@malteiwa3 жыл бұрын
thank you very much, this was much better explained than from my own professor. Greetings from Berlin, Germany
@ashishdwivedi51905 жыл бұрын
@13:55 isn't the time complexity again n^3 which we were trying to avoid initially??
@techwithwhiteboard34834 жыл бұрын
yes it is i think the constant term in this asymptotic n3 is lower than simply using djikstra several times
@kritikhetan4 жыл бұрын
@@techwithwhiteboard3483 even my point is also the same...time complexity as of using dijkstra also n times .@abdul Bari sir plz solve this doubt..thanks for wonderful explanation
@abdul_bari4 жыл бұрын
We were not trying to reduce time. We just saw a different approach
@kritikhetan4 жыл бұрын
@@abdul_bari thanks a lot sir..was stuck in this concept..ur vedios have cleared lot of my doubts in algorithm
@WeiShiunHUNG5 жыл бұрын
Thanks from Taiwan. Have learned really much from your videos.
@Endrit7195 жыл бұрын
yahahaha my friends were telling me I would fail this subject because of those algorithms because I didn't attend the classes but thank god internet exist I will pass like a boss
@silvasilkfern37525 жыл бұрын
Thank you so much for making these videos! It's crazy how much better I understand Floyd-Warshall now
@ronitkumar18386 жыл бұрын
finally i understand this algo...thank you so much
@Grrmrlg4 жыл бұрын
I gave up the lecture videos from my professors and watched yours. Super helpful.
@Geethanjalireddyy6 жыл бұрын
Sir, There is a mistake in finding A1 A1=0 3 α 7 8 0 2 15 5 8 0 1 2 5 α 0 Can u check it sir....
@r0wdybandit0152 жыл бұрын
7:27 bars btw this is the best video on Floyd's Algorithm on youtube. Thank you so much sir. I salute you.
@siddharthmanumusic3 жыл бұрын
Thank you for the beautiful explanation. One observation: Isn't the time complexity of Dijkstra to find all pairs shortest path same as that of Floyd Warshall? I think the only advantage of FW is that it can also find it for negative weights plus it's easier to implement - no priority queue or extra space complexity.
@madhurya64173 ай бұрын
Sir... U are amazing.. Actually my teacher is following what ur saying..
@shiwanggupta86086 жыл бұрын
Dijkstra takes O(ElogV). So, if we calculate using Dijkstra it would be O(n^3*logn)
@shiwanggupta86086 жыл бұрын
For a dense graph E=O(V^2), So, worst case time complexity will be O(ElogV*V)=O(EVlogV)=O(n^3*logn)..
@foodiebala14342 жыл бұрын
I didn't learn anything during my online classes thank for your classes I can now get along with other classes .Thanks for this play list
@pranavkasera55844 жыл бұрын
Thankyou from NIT Warangal
@Kartikaygoel-vp7yn8 ай бұрын
Sir you provide better lessons for free than most of my "Highly educated" professors of my college(fees was not cheap)
@syedchand9956 жыл бұрын
Great experience sir. Plz upload more videos
@lolzlolzlolzlolzlol16 жыл бұрын
his videos have been saving me so much time and effort. wish all professors could be as good as him!! many thanks
@dushyantkaushik3356 жыл бұрын
A1[4,2] should be equal to 5 instead of 8
@aadityapritam47095 жыл бұрын
Ya i thought there should be 5 instead of 8.. But thats ok.. I understand the concept
@Ankit-mq6em5 жыл бұрын
@@abdul_bari woooowww
@shreedharsharma66633 жыл бұрын
Big fan of your teaching style sir... Very unique and diligent ❤️🙏🏻
@JaspreetSingh-zp2nm3 ай бұрын
Usually I don’t like India teaching videos but this tutorial is very clearly presented
@sanjeebbaitha966 жыл бұрын
till 8:31 there was a mistake 4,2=8 instead of 8.....but corrected nice video
@vivekbkumbar6 жыл бұрын
Sanjeeb Baitha yeah i noticed also
@lukapavlovic98733 жыл бұрын
That's a real understandable !! raw model how every teacher should be teaching.
@adithyas68633 жыл бұрын
Our teacher told this is the formula, just memorize it no other go ಠ︵ಠ
@VikasSharma-cv1su3 жыл бұрын
excellent Explanation , In a single go i understood i didn't need to watch this video second time. Thanks Bari
@lifeexplorer29654 жыл бұрын
If Complexity is O(n^3) using DP also ,then we could have used Dijkstra's also then what is the benefit of using DP
@yashtailor15434 жыл бұрын
There are multiples ways to Solve every problem.
@dheerjain28844 жыл бұрын
Dijkstra wont work for negative edges
@nishtha276 жыл бұрын
Probably the best explanation of Floyd-Warshall algo, thank you!
@AMITKUMAR-te9bn4 жыл бұрын
What About Complexity? Is it still N^3.
@abhishekmazumdar20723 жыл бұрын
Time O(n3) Space O(n2)
@camilaperez7580 Жыл бұрын
Thank you so much. I understood more in the first 4-minutes of this video than in any of my network flow classes.