Hooray to a new curriculum! Hooray to hopes and deams!
Week 2 - Binary and Ternary Search
Our second meeting goes over binary and ternary search, as well as a bit about time complexity and time bounds! 🤩
Week 3 - Greedy (and regret!)
Assume that in front of you are piles of gold, silver, bronze, and worse metals. Your backpack can only carry a few kilograms, but you can take any real number of kg from any pile. Then, it would be best to take all the gold until it either runs out or your backpack fills up. If the gold runs out, you then move on to silver, and so on. Strategies like these are called greedy algorithms, and many problems in computer science can be optimally solved by them. Our third meeting of the quarter goes over greedy algorithms and regret, and hopefully you were able to see it live!
Week 4 - Dynamic Programming
When running recursive algorithms, a function can be called on the same value more than once, but if we already know its value, why compute it again? Storing these recursive call outputs is known as Dynamic Programming - and we'll teach you all about it in our fourth meeting!
https://leetcode.com/problems/elevator-requests-iii/description/
https://leetcode.com/problems/binary-tree-maximum-path-sum/description/
https://leetcode.com/problems/sum-of-good-subsequences/description/
Week 5 (Special Lecture) - Computational Complexities of Origami
On Monday of Week 5 we had a very special presentation by Professor Eppstein on the computation complexity of origami! Professor Eppstein is a professor in the algorithms department specializing in computational geometry and graph algorithms. This is a unique topic in the field of algorithms and is very different from the presentations we normally do.
Week 5 - Graph Algorithms
When walking across Aldrich park to your classes, sometimes, you don't feel like walking through the grass. When restricted to the paved paths, minimizing how long you take isn't as simple as just going straight to your destination. Aldrich Park's network of paths can be viewed as a graph, and there are algorithms to optimize your travels. However, graph algorithms are not just limited to finding the shortest path - they are useful for getting any important information in all kinds of networks. Our Week 5 presentation is all about graph agorithms, presented by our dear External VP!
Week 6 - Trees
Trees are a subgroup of graphs with no cycles, and they are a very important one. Many data structures have an underlying implementation with a tree. Trees also help set up branched hierarchies, which are important in file systems, databases, networks, AI algorithms, and more.