Algorithmic Combinatorics

Winter 2016-17

FU Berlin, Mathematics and Informatics


Week 1 Quiz

Use this quiz to test your knowledge and understanding of this week's lectures.

Question 1

The minimum and maximum numbers of comparisons Insertion Sort can require to sort a sequence of \( n \) numbers are respectively

Question 2

Exactly how many comparisons does Mergesort require to sort the sequence \( (4,8,2,7,3,1,5,6) \)?

Question 3

For a connected graph \( G \) and an initial vertex \( v_0 \),

Question 4

For a connected graph \( G \) and an initial vertex \( v_0 \), let \( d_D \) and \( d_B \) represent the degrees of \( v_0 \) in the depth-first and breadth-first search trees respectively. Which of the following must be true?

Question 5

For Kruskal's algorithm to work correctly, the edge weights must




Submit Reset

 

 

Return to top