StatisticalCoding
How would you programmatically sample exactly 100 values between 2 and 3 from a standard normal distribution without relying on a computationally expensive accept/reject loop?
Was asked at
More interviews, more skills, more success.
Be the first to share your approach to this question
Interview question asked to Data Scientists interviewing at Rackspace, WorldRemit, Cure.Fit and other companies. Original question asked: How would you programmatically sample exactly 100 values between 2 and 3 from a standard normal distribution without relying on a computationally expensive accept/reject loop?.