ECE165_2007FALL_EXAM1__[0]

ECE165_2007FALL_EXAM1__[0] - Data Structures and Algorithms...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Data Structures and Algorithms D F.U2007 Midterm Name:----------------- E-mail: _ Write all of your answers directly within this test booklet. You may use whatever scrap paper you like, but do not hand it in. Please also write your name at the top of each page. ,(1) Consider the following network flow graph (i.e., flow network): , The labels of edges represent their capacities. Start by pumping 3 units along the path s--+ b--+ c-+ t. (a) Draw the residual graph althis stage. (b) At this point, what augmenting path allows the biggest increase in flow, and how much flow can you pump through it? (c) What is that maximum flow that can be pumped through this flow network? (d) Simply prove that you can not do any better than your answer to part (c), using only the original graph. In other words, I do not want you to carry out the entire Ford- Fulkerson method and show that it stops at this point; I want you to point to something in the original graph that shows you can not do any better than your answer to (c). (2) Consider the following leftist heaps: Leftist heap A: 10 19 o / \ 1 1\ 088808 Leftist heap B: (a) Label each node...
View Full Document

This note was uploaded on 02/27/2012 for the course CHEMISTRY/ CH/ECE/PH/ taught by Professor Faculty during the Spring '08 term at Cooper Union.

Page1 / 10

ECE165_2007FALL_EXAM1__[0] - Data Structures and Algorithms...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online