September 23, 2024
Monday of Week 5
Topics of the day
- Project 2 design
- Using maps
Suggested reading
- Section 4.8 from Mark Allen Weiss, Data structures and algorithm analysis in C++, 3e
Online references
- map in C++ (en.cppreference.com)
- Map in Java (docs.oracle.com)
Questions and exercises
- Consider the map/dictionary type in the language of your choice. If you have a key and you aren't sure it's in the map, what can/should you do? Do you need to first check if it's present? (_Can_ you?) What happens if you try to access a key that isn't present?
Assignments
Today
- Project 2: Markov babbler design due
- Homework 2 due
- Homework 1 revision
Upcoming
- Homework 2 revision (30 Sep)
- Homework 3 due (30 Sep)