Prove that finding an acceptable arrangement

Assignment Help Computer Engineering
Reference no: EM132118896

Question :

You're in charge of choreographing a musical for your local community theater, and it's time to figure out the final pose of the big show-stopping number at the end. ("Streetcar!"')

You've decided that each of the n cast members in the show will be positioned in a big line when the song finishes, all with their arms extended and showing off their best spirit fingers.

The director has declared that during the final flourish, each cast member must either point both their arms up or point both their arms down; it's your job to figure out who points up and who points down.

Moreover, in a fit of unchecked power, the director has also given you a list of arrangements that will upset his delicate artistic temperament.

Each forbidden arrangement is a subset of the cast members paired with arm positions; for example: "Marge may not point her arms up while Ned, Apu, and Smithers point their arms down." Prove that finding an acceptable arrangement of arm positions is NP-hard.

Reference no: EM132118896

Questions Cloud

How to read a html file using python : How to read a html file using python, then extract id and links in that file.
How knowledge management systems could be used : Consider your degree program (Business Study with Accounting Concentration) or your selected industry (Restaurant Business).
How would you write a piece of code that throws : How would you write a piece of code that throws a RuntimeException with the message "An incorrect parameter was given"?
Which data structures should you use for the address book : Suppose we want to create an address book which contains names, phone numbers, emails, and other personal information.
Prove that finding an acceptable arrangement : "Marge may not point her arms up while Ned, Apu, and Smithers point their arms down." Prove that finding an acceptable arrangement of arm positions is NP-hard.
Compute the greatest common divisor of two given numbers : Based on these observations, implement a function to compute the greatest common divisor of two given numbers >= 1.
What information do you need to carry out the proposal : You're called in to consult for a company that's issuing about 100 new wireless mobile devices to selected employees.
What is the recurrence for the running time : We're given an array of n numbers, A[1 · · · n] and want to add up the n numbers. What is the recurrence for the running time? Solve it.
Give an algorithm with polynomial running time to do this : Naturally, they're not sure that all these facts are correct; memories are not so good, and a lot of this was passed down by word of mouth.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Discuss the function of input and output devices

Discuss the function of input and output devices, and analyze the working principle of voice input and output systems with their present state of technology.

  How much confidence do you have in those measures

What measures does your company or school implement to ensure the security of Web-based applications? List some examples. How much confidence do you have in those measures? Justify your response.

  What is flash memory

What is the basic difference between EPROM and EEPROM?

  Write a function that takes a string and a number of spaces

Write a function that takes a string and a number of spaces to insert between each letter, then print out the resulting string.

  Draw the diagram of four-bit register with four d flip flops

Draw the diagram of a 4 bit register with four d flip flops and four 4x1 mutiplexers with mode selection inputs s1 and so the register operates according to the following function table

  What is off-chip inter-connect delay

What is off-chip inter-connect delay? What has been the impact of this increase on the way parallel processing systems are designed?

  Determine the major project milestones and the required

a project scope includes many variables. the work breakdown structure wbs must be defined prior to the start of the

  Describe what numbers the following list comprehension

Using either words or mathematical set notation, describe what numbers the following list comprehension generates.

  Defining information security governance and management task

Information security management and governance are not simply implemented tasks within organizations. An information security governance program is a program.

  Design the logic for a program that merges the files

Design the logic for a program that merges the files for summer and winter programs to create a list of the first and last names of all participants for the year.

  Design a vote structure to hold candidate

Design a Vote structure to hold candidate, votes received and percentage of total votes. Then use a STL list of Vote structure to implement the program.

  What is the efficiency of the link

A block of 200 7-bit ASCII characters (with 1-bit even parity) is to be transmitted over an RS 232 serial link. Calculate the number of bits transmitted and the efficiency of the link if the asynchronous link uses 2 stop bits. What is the efficien..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd