AI
Size: a a a
AI
MB
AI
MB
AI
MB
MB
AI
AI
MB
a
AI
MB
ST
(->>
(partial rand-int 100)
(repeatedly)
(distinct)
(take 10))
=> (56 17 47 26 65 86 92 4 0 36)
ST
(->>
(range 100)
(shuffle)
(take 10))
=> (14 31 71 78 76 40 92 16 2 98)
ST
a
(take n
(mask
(map (lambda (left-in-seq)
(probability≥ (/ left-to-take left-in-seq)
(random 0 1)))
(reverse (iota (length seq))))
seq))
AI
ST
(take n
(mask
(map (lambda (left-in-seq)
(probability≥ (/ left-to-take left-in-seq)
(random 0 1)))
(reverse (iota (length seq))))
seq))
a