News for hackers. Stuff that matters.
Re:The Alias Method is an O(1) algorithm to select elements ... by andreer on Tuesday March 05, 2013 @10:06AM (#5324807)
n here is the number of different elements you can choose from. If there was a third alternative, you'd have to add another if statement.

There are no comments on this comment yet.