Question DSA-GRAPH-0024
EasyWhat is the largest number of edges a simple undirected graph with n vertices can have?
- A.
2ⁿ
- B.
n − 1
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Graphs question
What is the largest number of edges a simple undirected graph with n vertices can have?
2ⁿ
n − 1
Sign up free to see the answer and a step-by-step explanation.
n²
n(n − 1)/2