Algorithms Supervision 1
Recommended reading
Chapters 1, 2, 3, 6, 7, 8, 9 of Introduction to Algorithms (3rd edition) by Cormen, Leiserson, Rivest & Stein.
Exercises
Bolded items are taken from the exercise sheet:
- Exercise 1
- Exercise 4
- 2020 Paper 1 Question 8, parts a), b) and c)
- Exercise 17
- Exercise 18
- 2018 Paper 1 Question 7
- Without any help, write pseudocode for a sorting algorithm of your choice. Include any appropriate preconditions, postconditions and assertions.