A complete bipartite graph may be drawn in different ways, such that the number of line crossings differs between drawings.
To date, the question of how to draw the graph so as to minimize the number of crossings remains unsolved.
Nevertheless, an upper bound can be calculated for the number of crossings, based on the number of elements in each of the two sets comprising the graph's vertices.
Given the number of elements in each set, m and n, calculate the upper bound, b, for the minimum number of line crossings in the resulting complete bipartite graph.
Example:
m = 3;
n = 4;
b = 2
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers10
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15814 Solvers
-
1445 Solvers
-
Sum all integers from 1 to 2^n
17970 Solvers
-
129 Solvers
-
Find out value of sine given by degree.
357 Solvers
More from this Author45
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!