Programming and Data Structures - Graphs

6. Which of the following is useful in implementing quick sort?

Cancel reply
Cancel reply

8. The number of edges in a regular graph of degree d and n vertices is

  • Option : D
  • Explanation : In a regular graph, all the vertices will be of the same degree. Total degrees of all the vertices is nd. Each edge will be increasing the total degree by 2. So, totally ndl2 edges.
Cancel reply
Cancel reply