Kim Jong-Un Could Give North Korea Internet At The Flip Of A Switch
-
[image: kim jong un attack plan us]
As you might expect, North Korea's "Internet" mirrors North Korea itself:
Sad, secluded, and limited to just a handfu...
28 minutes ago
By random permutation if you mean a shuffle then will Knuth Shuffle be acceptable to you?? Or I should think of something else ?
ReplyDeletethat would be a solution yes.
ReplyDeleteyou can generate N random numbers uniformly distributed on (0,1) - this takes O(N) - this clearly define a random permutation of {1,2,...,N}
ReplyDeleteBtw, you might be interested in
http://linbaba.wordpress.com/2010/06/03/random-permutations-and-giant-cycles/