in Others edited by
85 views
0 votes
0 votes

Suppose we are given a graph $\text{G=(V, E)}$ with non-negative edge weights $\left\{w_{e}\right\}_{e \in E}$.

Consider the following problems:

P1: Finding a minimum spanning tree of $\text{G}$.
P2: Finding a maximum spanning tree of $\text{G}$.
P3: Finding a cycle of smallest weight in $\text{G}$.
P4: Finding a cycle of largest weight in $\text{G}$.

Note: a cycle consists of distinct vertices.

Assuming $\mathrm{P} \neq \mathrm{NP}$, which of the above problems can be solved in polynomial time?

  1. $\text{P1, P2 but not P3, P4}$.
  2. $\text{P1, P3 but not P2, P4}$.
  3. $\text{P1 but not P2,P3, P4}$.
  4. $\text{P1,P2,P3 but not P4}$.
  5. $\text{P1, P4 but not P2, P3}$.

     

in Others edited by
by
85 views

Please log in or register to answer this question.

Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true