• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

CS7200: Algorithm Design and Analysis

Document preview thumbnail
Preview 2 out of 7 pages

WRIGHT STATE UNIVERSITY Department of Computer Science and Engineering CS7200: Algorithm Design and Analysis Fall 2019 Midterm (50 pts) Prasad Write the answers only in the space provided. Use the “blank” sides of each page for scratch work. Be concise, precise and legible. NAME UID EMAIL This study source was downloaded by from CourseH on :38:23 GMT -05:00 1) [Stable Marriage Problem 3 pts + 6 pts + 6 pts] Consider an instance of the stable marriage problem with men M = {m1, m2, m3}, women W = {w1, w2, w3} and the priority lists: m1: w2, w1, w3; m2: w3, w2, w1; m3: w1, w3, w2; w1: m2, m1, m3; w2: m3, m2, m1; w3: m1, m3, m2. (a) How many perfect matchings are possible? (b) Is the following mapping stable? w1-m1, w2-m2, w3-m3 (c) Determine a women-optimal solution if one exists

Content preview

WRIGHT STATE UNIVERSITY
Department of Computer Science and Engineering
CS7200: Algorithm Design and Analysis

Fall 2019 Midterm (50 pts) Prasad




Write the answers only in the space provided. Use the “blank” sides of each
page for scratch work.

Be concise, precise and legible.




NAME


UID


EMAIL




This study source was downloaded by 100000899606070 from CourseHero.com on 10-07-2025 01:38:23 GMT -05:00


https://www.coursehero.com/file/80660628/midterm-sample1pdf/

, 1) [Stable Marriage Problem 3 pts + 6 pts + 6 pts]
Consider an instance of the stable marriage problem with men M = {m1, m2,
m3}, women W = {w1, w2, w3} and the priority lists:

m1: w2, w1, w3; m2: w3, w2, w1; m3: w1, w3, w2;

w1: m2, m1, m3; w2: m3, m2, m1; w3: m1, m3, m2.

(a) How many perfect matchings are possible?



(b) Is the following mapping stable?

w1-m1, w2-m2, w3-m3




(c) Determine a women-optimal solution if one exists.




This study source was downloaded by 100000899606070 from CourseHero.com on 10-07-2025 01:38:23 GMT -05:00


https://www.coursehero.com/file/80660628/midterm-sample1pdf/

Document information

Uploaded on
October 7, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$8.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Abbyy01
3.5
(13)
Sold
98
Followers
33
Items
1332
Last sold
3 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions