Course week 3

Self-study (videos and slides in english)

The topics for this week are as follows: (i) Divide and conquer, (ii) Quicksort, (iii) Mergesort

The following links will take you to the video-lectures and the accompanying slides:

Lecture-questions

In the divide and conquer design strategy
Which of the following best describes the relationship between the divide and conquer strategy and recursive algorithms?
Which of the following best describes a data structure for which divide and conquer strategies might be effective?
It is said that Quicksort uses the divide and conquer strategy when processing an array \(A\). What part of Quicksort corresponds to ’dividing’?
The purpose of the Quicksort algorithm is
During Quicksort a partitioning procedure is used. Let the input to the partitioning procedure be array \(A\) and from \(A\) we must partition at least three elements. Which of the following is true? (More than one may be true.)
In Quicksort, partitioning is used to
Of the following statements, which is true regarding the Quicksort algorithm?
It is said that Mergesort uses the divide and conquer strategy when processing an array \(A\). What part of Mergesort corresponds to ’dividing’?
When two sorted arrays are merged,
When two subarrays are merged in Mergesort,
Let the size of an array (or subarray) be the number of elements it contains. The Mergesort algorithm
Regarding Mergesort, which of the following are true. (More than one may be true.)
What is a central question, related to this course, whose answer can be found in this week’s videos?
Of the following topics, which do you think deserves further discussion/explanation during the weekly consultation session?
Were there any parts of the video lectures that were particularly difficult? Particularly interesting? Something about which you wish to learn more?

Extra links on the topic:

Week03 - Glossary

Viikko03 - Sanasto

Submit weekly exercises

Questions to be submitted this week