Efficient Algorithms exam topics from 1 July 2025. This is a reconstruction; some task descriptions and answer options are missing.
1. Bicoloured Subset Sum
Bicoloured Subset Sum
Input: A multiset of numbers, each coloured either red or blue, and a target integer .
Question: Does there exist a submultiset such that and contains equally many red and blue numbers? Here, selection is by occurrence, rather than by distinct value as in an ordinary subset.
(a) Describe a dynamic programming algorithm solving this problem.
(b) Give a running-time bound in -notation.
2. Exponential-Time Algorithms and ETH
Task
(a) For the 5-Colouring problem, there is a trivial branching algorithm with running time . Give an improved single-exponential algorithm with running time , where .
(b) Assume that there is a linear-time reduction from 3-SAT to another problem. Which of the listed running times can be excluded under the Exponential Time Hypothesis? You do not have to justify your answer.
The four running-time options are missing from the reconstruction.
3. Minimum Vertex Cover Approximation
Task
Two algorithms for Minimum Vertex Cover were described. Decide which one is a factor-2 approximation algorithm and prove its approximation guarantee.
The algorithm descriptions are missing from the reconstruction.
4. Chamberlin–Courant Rule and Integer Linear Programming
Task
The task included a description of the Chamberlin–Courant (CC) voting rule and asked for a committee of size with maximum CC score. Complete the partial integer linear programming (ILP) formulation by filling in the parts marked with question marks.
Let be the voters and the alternatives. The binary variable indicates whether voter is represented, and indicates whether alternative belongs to the committee.
Additional multiple-choice questions concerned the running time of ILP algorithms.
The precise voting-rule description and the multiple-choice options are missing from the reconstruction.
5. Condorcet Winners and Kemeny Consensus
Task
Prove the following statement:
A Condorcet winner comes first in every Kemeny consensus ranking.
6. Single-Machine Scheduling
Task
Give a polynomial-time algorithm that solves optimally. If your algorithm differs from the one presented in the lecture, also prove its correctness.
Additional multiple-choice questions concerned the complexity of .
7. Matroids and Max-2-SAT
Task
Two sets of multiple-choice questions concerned:
- Matroids: circuits and the number of independent sets given bases of cardinality .
- Max-2-SAT: fully polynomial-time approximation schemes (FPTAS), pseudo-polynomial algorithms, and related topics.
The exact questions and answer options are missing from the reconstruction.