What is the most efficient way to generate list of unique random
numbers? The function must look something like this:
(defn make-random-numbers [dim max]
....)
I would have worried that if dim and max were close you'd get to the
last number and keep calling #(rand-int) and never hit the last
number.
how does distinct work that it keeps that situation from occuring?