Coding

Write a code to generate independent and identically distributed (i.i.d.) draws from a given distribution X given that we only have access to a random number generator.

Try Our AI Interviewer

Prepare for success with realistic, role-specific interview simulations.

Try AI Interview Now

Interview question asked to Data Scientists interviewing at Glovo, Cure.Fit, Zillow and others: Write a code to generate independent and identically distributed (i.i.d.) draws from a given distribution X given that we only have access to a random number generator..