notebook.community
Edit and run
Generate a graph for a given degree distribution. Example: D = [3,3,2,2,1]
Is it possible to do for any sequence D?
In [ ]:
Use interact() to vary p, and print the size of the largest connected component when varying $p$