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.
[ Parent
| on HN ]
There are no comments on this comment yet.