CST 370-30 - Algorithm Design & Analysis Week 5
Week 5:
This week focused on core algorithm design ideas and how they are applied in practice. I learned how Quick Sort works step by step. Particularly how partitioning affects performance and why the median of three approach helps reduce worst case behavior. The binary tree lectures helped me clearly understand preorder, inorder, and postorder traversal, along with how tree height is calculated. Decrease and conquer made binary search easier to reason about by breaking problems into smaller parts. I also learned how DAGs and topological sorting work, with Kahn’s algorithm showing a clean and logical process. Pre sorting showed how preparation can simplify complex problems. The materials this week connected theory with real algorithm behavior in a clear way.
Comments
Post a Comment