In Graph Theory, we say a graph is a Complete Graph, if all of its nodes are connected to evey other nodes in the graph. Examples of complete graphs are shown below.
In this problem we are asked to calculate
, which is the number of connections of a complete graph with n nodes.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Remove any row in which a NaN appears
8794 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2916 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1330 Solvers
-
Find the sum of the elements in the "second" diagonal
1208 Solvers
-
Optimally fill a container with elements of different sizes
25 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!