Question
a.
N(N−1)
b.
2N−1
c.
N−1
d.
N(N−1)/2
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The number of edges in a complete graph with N vertices is equal to:
Similar Questions
Discover Related MCQs
Q. Which algorithm has same average, worst case and best case time?
View solution
Q. Binary search tree is an example of:
View solution
Q. What is the time required to insert an element in a stack with linked implementation?
View solution
Q. The equivalent postfix expression for d/(e+f) + b*c:
View solution
Q. Which one of the following is a physical data structure ?
View solution
Q. Which of the following statement is false ?
View solution
Q. If the postfix form of a string is ABC+-D*, the actual string is:
View solution
Q. Application of data structure queue is:
View solution
Q. T is a graph with n vertices. T is connected and has exactly n-1 edges, then:
View solution
Q. In what tree, for every node the height of its left subtree and right subtree differ at least by one:
View solution
Q. A hash function f defined as f(key) = key mod 7, with linear probing it is used to insert the key 37, 38, 72, 48, 98, 11, 56 into a table index from 0 to 6. What will be the locations of 11?
View solution
Q. The initial configuration of queue is a, b, c, d. ‘a’ is at the front. To get the configuration d, c, b, a how many deletions and additions required:
View solution
Q. Which traversal technique lists the nodes of a binary search tree in ascending order?
View solution
Q. What is the time required to insert an element in a stack with linked implementation ?
View solution
Q. Which of the following statement is false ?
View solution
Q. The algorithm that will efficiently sort an array that is nearly sorted except for the interchange of some adjacent pairs of numbers like : { 1, 3, 2, 5, 4, 6} is:
View solution
Q. The following lists are the degrees of all the vertices of a graph:
(i) 1, 2, 3, 4, 5 (ii) 3, 4, 5, 6, 7
(iii) 1, 4, 5, 8, 6 (iv) 3, 4, 5, 6
then, which of the above sequences are graphic?
View solution
Q. What item is at the root after the following sequence of insertions into an empty splay tree:
1, 11, 3, 10, 8, 4, 6, 5, 7, 9, 2 ?
View solution
Q. Suppose we are implementing quadratic probing with a Hash function, Hash (y)=X mode 100. If an element with key 4594 is inserted and the first three locations attempted are already occupied, then the next cell that will be tried is:
View solution
Q. Weighted graph:
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Data Structures and Algorithms? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!