Multistage Graphs:
Principal:
In this method, Graph is divided into different stages that is stage-1 to stage-n and will have only one
vertex for each.
The main objective is to find shortest path between source and destination.
There are two methods are used-
-Backward algorithm
-Forward algorithm
Backward Algorithm:
In this method calculation for shortest path from source to destination the information about previous
stage is considered.
To find backward cost by using-
ππππ π‘(π,π) = min{ ππππ π‘(π β 1, πΏ ) + πππ π‘(πΏ,π)}
Where, π β π π‘πππ ππ.
π β ππππ /ππππ‘ππ₯ ππ.
ππππ π‘( ) β ππππ πππ π‘
πππ π‘( ) β πππ‘β π
play list
optimal binary search tree part #2
πhttps://youtu.be/_U0gYfx-G4s
β ALGORITHM COURSE CONTENT β
π Introduction to Algorithms
https://youtu.be/kvQhvXoDS6w?si=9xU2VZHNcD5bzlbC
π Definition of Algorithms
https://youtu.be/-AmbJ34ZCb0?si=XQ1ENqQUn_ns21Rv
π Recurrence Relation
https://youtu.be/ihJDhqZgoZ0?si=PDOgEI1llq2Vj2cL
π Master Method shortcut tricks
https://www.youtube.com/live/XboyzJwaiw4?si=_Od1GhJlfCwV6gf4
π BIOTONIC SORTING
https://youtu.be/tWymSVeDg6g?si=4T-9VClrM0MN0JIx
π AMORTIZED ANALYSIS
https://youtu.be/amd-oHXyeYE?si=f9jwm8AYkYwC8emN
Design and analysis of algorithms
DAA
DDA by Ahmad Sir
DAA BY CSE ACADEMY
ahmad Sir
#cseacademy
#byahmadsir
#daa
#gatecse
#engineering
#polytechnic