in last part of the video sir asked for feedback, here it is Those who are new to sir let me tell you he is a "legend", he can make even a dumber guy understand these DAA algos trust me he is such a legend.
@mukeshmahadev74195 жыл бұрын
It's really really helpful. Thanks you Sir, finally understood Bellman Ford and Dijkstra's algorithm completely with comparison. You have covered all the possible doubts that I had got while understanding, that's the best part. Thanks a lot again.
@saprra13 ай бұрын
Sir without you my DSA =0 i was breaking my head , could nt understand anything. Thanks for making coding easy
@prashantkamble8987 жыл бұрын
awesome explanation. much better than engineering colleges.
@subhrenduchattopadhyay5 ай бұрын
Complexity analysis of bellman-ford (19:35): O(V times E ) -> O(V^3) as |E| can be v*(v-1) for completely connected graph/clique.
@prodbyjaswant551Ай бұрын
You are over counting. Each edge from each vertex will be connected to another vertex hence max |E| = v(v-1)/2.
@subhrenduchattopadhyay29 күн бұрын
@prodbyjaswant551 The complexity remains the same. O(v^3).
@maverickchinmaydas4 жыл бұрын
Hi +Abdul Bari sir - Why we have taken d vertex first when we deal with negative vertex in bellmanford algorithm (15:38) . We could start with (a,c) (c,d)(d,b) (a,b) rather we selected (d,b) (c,d) (a,c) (a,b) . Can you please explain once again why ?
@aishwaryaratnam1547 жыл бұрын
Sir your explanation was like a cutting edge . thank you so much
@Antakya0001 Жыл бұрын
Abdul Bari >>>> university professors Best teacher!
@Malik-bx6qg6 жыл бұрын
You have a mistake sir, in the first example (time: 6:35), you said that the shortest path from P to T is "7", it is not !. It is 5, from P > Q > R > U > T (1+1+1+2=5). Please check this
@Malik-bx6qg6 жыл бұрын
Aaa, now I know. Thank you for the explanation. My comment is useful though.
@javariamalik84753 ай бұрын
Where is the explanation. I'm not able to understand it @@Malik-bx6qg
@neerajnishad46893 жыл бұрын
Sir please come back to KZbin, world needs you!!!
@MastAdmiLive2 жыл бұрын
Our teachers gave us 150slides of ppt
@aradhyajain95757 жыл бұрын
very good explanation....watched a lot of videos and finally got yours one.....thanks!!
@debarkasengupta45007 жыл бұрын
Extremely well described. Very good teaching skills.
Ans of dijkstra algorithm of this diagram with path my ans is a->b->c->d->e->f.
@kunalkheeva2 жыл бұрын
How are you so greatly simplifying the algorithms?? Thank you sir>>>>
@TonyDaExpert3 жыл бұрын
I am gonna watch these videos till I master the theory well and I will buy your c++/c data structure course you are amazing
@cse5303 жыл бұрын
Hlo bro did u buy the courses
@TheWhiteBreadMan3 жыл бұрын
Thank you, that helped me a lot!
@haneulkim49024 жыл бұрын
Thanks for the video! @13:32 you say that once shortest path has been found it cannot be updated hence dijkstra algorithm sometimes fail with negative weight edges. However replacing 1-4 edge with 10 and 3-4 edge with 2, it will do the same thing as having 1-4 edge = 1 , 3-4edge = -6. Does that mean it sometimes doesn't work for positive weight edges too?
@haneulkim49024 жыл бұрын
@@abdul_bari But you said once vertex is relaxed it cannot be relaxed again that is why it failed with negative weights.
@usamamohiuddin7904 Жыл бұрын
at 25:00 the cost should be -2, but thanks for the amazing video otherwise!
@edwinthomas91747 жыл бұрын
best explanation ever !!!!
@asifanawaz383 жыл бұрын
What should we do if the arrows are not mentioned in the question? How should we proceed then?
@muezabebe56695 жыл бұрын
your tutorial is very inteested
@UnBoxerBHAI4 жыл бұрын
SIR THERE IS ONE REQUEST PLEASE SWITCH BACK TO TEACHING ON BOARD AS THOSE VIDEO'S WERE MORE INTRESTING THAN THIS. LOVE YOUR VIDEOS
@IcyIndia5 жыл бұрын
Sir please recheck at 5:45 time in this video ... point T should be 5 not 7 .
@zouhairghazi35415 жыл бұрын
No, it shouldn't. The graph is in fact oriented so you cant travel from vertex U to vertex T.
@TheRealBoroNut7 жыл бұрын
While you're checking for the shortest route I'm already in the pub on my second pint.
@SamaaSeif8 ай бұрын
when you pick edges for bellman theory, why do u put d-b first? what makes it be in that order
@mahoorkhan6307 жыл бұрын
In bellman ford algo why have u taken d vertex first?
@indra164 жыл бұрын
amazing sir amazing💕😍
@noyonrongon62925 жыл бұрын
awesome explanation.
@lilj17027 жыл бұрын
Isnt F in the second graph actually 7?
@rahimkorbo81587 жыл бұрын
What if the arrows on the edges are not mentioned for bellman ford algorithm for list of edges? What to do in that situation?
@rahimkorbo81587 жыл бұрын
On each node?
@spifuntastic6212 жыл бұрын
25:01 1+3 - 6 = -2
@c.danielpremkumar84956 жыл бұрын
Can't we add 6 to all the edges so that we can deal with all positive values which would make the negative edge equal to 0 ? If it is OK - then nodes 3 and 4 would become a single node. What would this mean ?
@Amitsa2997 жыл бұрын
You are gem
@abuibrahym11826 жыл бұрын
Thanks That was good
@c.danielpremkumar84956 жыл бұрын
What is the practical meaning for a NEGAFIVE edge ?
@Kitty-Corn-36 жыл бұрын
Don't limit you thinking about edges just in terms of water flowing through the pipes .. or packets through the network wire .. Think of a case when you're google and sending traffic to a website when customer clicks an ad .. and the edge value is the money you charge ..
@evelynross10435 жыл бұрын
In real scenarios , it can represent a transaction which can be both positive and negative .
@muhammadaltafhussain308411 ай бұрын
25:00 1+ 3 -6 = -2 ,
@saurabhmittal25046 жыл бұрын
1+3-6 = -3😊 don't point it out ,it's a simple mistake