

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Discrete Structures, Randomized Algorithm, Exercises, Exam Paper
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


(a) Prove for any constant , an s-t cut of value at most (1 + )v can be found in O˜(mv/c^2 ) time. (b) Prove that for any constant , a flow of value (1 − ) can be found in O˜(mv/c) time. (c) Sketch an algorithm that finds the maximum flow in O˜(mv/
c) time, and give a informal argument as to its correctness. (d) Use the algorithm of part (c) to improve the running times of the algorithms in parts (a) and (b)
(a) Explain how Pr[F | xe] can be computed as a network reliability problem on a different graph, for both values of xe.
(b) Let G be a graph and F the event that it fails. Let xe be the state of a given edge (up or down). Give an FPRAS for computing Pr[xe | F ]. (c) Using self-reducibility, give an algorithm that produces a random disconnected version of G, conditioned on F.