ExamVeda
Login
Home
Miscellaneous on Data Structures
?

Given below is the pseudocode of the vertex cover problem. Which of the following best suits the blank?
Vertex_Cover(G = (V, E))
{
    A = { }
    while (E!=0)
    {
        pick any edge (u, v) from E
        add u and v to A
        ________________
    }
    return A
}

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.