Chat with us, powered by LiveChat Offered Price $ 18.00 You may consult with others concerning the general approach | Writedemy

Offered Price $ 18.00 You may consult with others concerning the general approach

Offered Price $ 18.00 You may consult with others concerning the general approach

Question

NOTE: Each problem set counts 15% of your mark, and it is important to do your own

work. You may consult with others concerning the general approach for solving problems on

assignments, but you must write up all solutions entirely on your own. Copying assignments

is a serious academic offense and will be dealt with accordingly.

1. The decision problem PARTITION is defined on page 13 of the Notes NP and NPCompleteness”. (You may assume that a1; : : : am are positive integers.)

Define the associated search problem PARTITION-SEARCH and give an algorithm

showing that

PARTITION-SEARCH ! p PARTITION.

Give a loop invariant for your algorithm.

(See Definition 6 in the Notes Search and Optimization Problems” for the definition

of ! p .)

2. Consider the problem DISTANCE-PATH.

DISTANCE-PATH

Instance

hG; s; t; di, where G is an undirected graph, s and t are nodes in G, and d is a positive

integer.

Question Is the distance from s to t exactly d? In other words, is it the case that there

is a path of length d from s to t, and no shorter path from s to t?

(a) Show that DISTANCE-PATH 2 NL.

(b) Show that DISTANCE-PATH is NL-complete.

Hint: Show that P AT H ?L DISTANCE-PATH. Given a directed graph G construct

an undirected graph G0 by making n copies of G. Each edge in G0 goes from copy i to

copy i + 1.

3. Use a padding argument to show that NL = coNL implies NSPACE(n3) = coNSPACE(n3).

See Problem 9.13, in the textbook for a description of padding.

4. Show that T QBF = 2 DSPACE(n1=5). You may refer to the proof of Theorem 8.9 in

the text, and assume the fact that the reduction presented there can be carried out in

log space.

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order