Home / MCQ Bank / Computer
Computer Miscellaneous On Data Structures Difficulty: Medium

Given below is the pseudocode of the dominating set problem. Which of the following best suits the blank? Dominant(G = (V, E)) { D = { } while (E!=0) { pick any edge e connecting to vertices X and Y add one vertex between X and Y to set D ________________ } return D; }

Select the correct option to test your answer:

More Computer Questions

What is the purpose of a docstring in a function? Which directive determines how the session information will be stored? ....... is an intermediate storage for deleted files In Hadoop, what does the term "InputSplit" represent? In expression i = g() + f(), first function called depends on . . . . . . . .