aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science (GATE Exam) 2008 - Previous Question Paper Solution
  • The most efficient algorithm for finding the number of co...
Multiple choice

The most efficient algorithm for finding the number of connected components in an undirected graph on n vertices and m edges has time complexity

  1. $\Theta(n)$
  2. $\Theta(m)$
  3. $\Theta(m+n)$
  4. $\Theta(mn)$
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Keep practicing — related questions

  • An undirected graph G with 'n' vertices and 'e' edges is represented by adjacency list. What is the time re...
  • Which of the following algorithms solves the Connected components problem?
  • Which of the following algorithms solves the connected components problem?
  • Maximum number of edges in a n-node undirected graph without self loops is
  • Out of three numbers, the first is 16 times the second and 4 times the third. If the average of all the thr...
  • Which of the following save(s) your time by allowing you to view complex applications as a series of basic ...
  • The average of 15 numbers is 26.2. If the average of first 8 numbers is 27.875 and the average of last 8 nu...
  • Directions: In the following numbers, one number is wrong. Find out the odd number.
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy