Google Interview Question

Code rand(min, max) with a uniform distribution