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 Solvers3
Suggested Problems
-
Find the two most distant points
2952 Solvers
-
Find perfect placement of non-rotating dominoes (easier)
382 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
682 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
103 Solvers
-
Kryptos - CIA Cypher Sculpture: Vigenere Encryption
60 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!