Advertisement
tinyevil

Untitled

Apr 19th, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. 1) choose k
  2. 2) repeat k times:
  3. 3) choose random i, j in [1,n]
  4. 4) if there is an edge (i,j), goto 3
  5. 5) add edge (i,j)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement