Week 66: CST370 - Design and Analysis of Algorithms
WK07: Weekly Reflection This week's module focused on dynamic programming, Warshall's algorithm, Floyd's algorithm, greedy techniques, and Prim's algorithm. These topics helped me understand ways to solve optimization and graph problems. One topic that stood out was dynamic programming. I learned that it works by breaking a problem into smaller overlapping subproblems and reusing previously calculated results instead of solving the same problem again. The Coin-Row problem helped me understand this idea because the goal is to choose coins with the greatest total value without selecting adjacent coins. I also practiced the Coin-Collecting problem, where values are calculated step by step across a grid to find the maximum number of coins that can be collected. Another important topic was Warshall's algorithm. I learned that it is used to find the transitive closure of a directed graph. It shows whether a path exists from one vertex to another, even when there is no di...