There is one set of exercises associated with each lecture (so you will typically have two sets of exercises to complete per week). A set of exercises consists of two or three drill questions, designed to ensure that you understand the basics. The exercises are released each Thursday at 12:30pm via Blackboard. All readings refer to Algorithms, 4th edition by R. Sedgewick and K. Wayne unless otherwise specified.
|1||Sun 9/20||Union Find||1.5|
|2||Sun 9/27||Analysis of Algorithms||1.4|
|3||Sun 9/27||Stacks and Queues||1.3|
|4||Sun 10/4||Elementary Sorts||2.1|
|7||Sun 10/11||Priority Queues||2.4|
|8||Sun 10/18||Binary Search Trees||3.2|
|9||Sun 10/18||Geometric Applications of BSTs||–|
|10||Sun 10/25||Balanced Search Trees||3.3|
|11||Sun 10/25||Hash Tables||3.4|
|12||Sun 11/8||Undirected Graphs||4.1|
|13||Sun 11/15||Directed Graphs||4.2|
|14||Sun 11/15||Minimum Spanning Trees||4.3|
|15||Sun 11/22||Shortest Paths||4.4|
|17||Sun 12/6||String Sorts||5.1|
|19||Sun 12/6||Substring Search||5.3|
|20||Sun 12/13||Regular Expressions||5.4|
|21||Sun 12/13||Data Compression||5.5|
Submission policy. You will submit exercises electronically in Blackboard. Be sure to format your answers as specified. Due to a Blackboard quirk, if you do not complete your submission within 5 hours of starting, then Blackboard will submit your current work automatically.
Lateness policy. Blackboard exercises are due at 11pm on the date specified. There is a 59-minute grace period. Late exercises will be accepted only with the recommendation of a Dean or a letter from McCosh Health Center.
Grading policy. You may attempt each set of exercises up to 3 times. We will record your best score. On each attempt, you will receive different (but related) questions. After each attempt, you will receive correct answers and explanations. When calculating your course grade, we will drop your lowest two exercise scores.
Collaboration policy. You must complete the specific exercise questions (that are randomly assigned to you in Blackboard) entirely on your own, with no outside help (other than the course materials). However, you are permitted to discuss specific exercise questions after you have submitted them (and you are permitted to attempt the set of exercises again). If you wish to do so on Piazza, please post the entire question, answer, and explanation, including the seed (which the course staff can use to uniquely identify the question).