Week 7 - CST 370

 This week we learned about non comparison sorting such as counting sort and radix sort, which can have faster time complexities in certain instances. Dynamic programming solves complex problems by breaking them down into simpler subproblems. Coin Collecting and Coin Row are examples of dynamic programming. We used Warshall's algorithm to find the reachability between nodes and Floyd's algorithm to determine the shortest paths between pairs of vertices in a weighted graph. We also used Prim's algorithm, which grows a tree one edge at a time, choosing the edge with the smallest weight at each step for find the Minimum Spanning Tree. 

Comments

Popular posts from this blog

Week 1 - CST 370

Week 1 - CST 438

Week 4