Algorithm problem (graph and edges)?
-
I need help to understand how to come up with a solution for this problem. Appreciate any help! A graph has n vertices and m edges. How many connected components that graph can have at most? How man connected components the graph can hav at least?
-
Answer:
I'll comeback later if I recall some math. However I would look through some combinatorics book. My first inkling is that there is some graph theorem that will give you exactly what you want, or it's an open question. I can tell you that the "at least" question is answerable if there are no restriction on vertex degrees. If there is some restriction on the degrees, a graph may not exist i.e. the degrees must sum to an even number.
Murad A at Yahoo! Answers Visit the source
Related Q & A:
- How to find a path in graph with maximum edges?Best solution by stackoverflow.com
- How do you make the edges like this in a picture?
- Do you need to detune your edges on the Lib Tech Skate Banana?Best solution by Yahoo! Answers
- When you carve on a snowboard do you also need to go flat to switch edges?Best solution by Yahoo! Answers
- What are vertices and edges on a shape?Best solution by mathsisfun.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.