0
Adaptive randomisation
Given a number \$n\$, a blackbox function \$f\$ that produces a random integer in the range 0...n-1 inclusive, and a number \$m ≥ n\$, your challenge is to generate a random integer in the range 0...m-1 inclusive. You may not use any nondeterministic builtins or behaviour,...