Let's say we only have a random number generator at our disposal. How would you go about generating i.i.d. draws from a given distribution X?

Machine Learning Engineer

Google

Grab

Siemens

Twitter

LinkedIn

Bolt

  • Given we only have a random number generator, how could you generate i.i.d. draws from a specific distribution X?
  • How would you approach generating i.i.d. draws from distribution X, keeping in mind that we only have a random number generator available?
  • How would you generate i.i.d. draws from a specific distribution X, given we only have access to a random number generator?
  • If we only had a random number generator, what method would you use to generate i.i.d. draws from distribution X?
  • If we were limited to a random number generator, what technique would you use to generate i.i.d. draws from distribution X?
  • If you could only use a random number generator, how would you generate independent and identically distributed draws from distribution X?
  • Let's assume we can only use a random number generator. What steps would you take to generate i.i.d. draws from distribution X?
  • Let's say we only have a random number generator at our disposal. How would you go about generating i.i.d. draws from a given distribution X?
  • What steps would you take if you had to generate i.i.d. draws from a given distribution X when only having access to a random number generator?
  • With the limitations of only having a random number generator, what approach would you take to generate i.i.d. draws from distribution X?
  • 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.

Interview question asked to Machine Learning Engineers interviewing at Google, Roblox, Bolt and others: Let's say we only have a random number generator at our disposal. How would you go about generating i.i.d. draws from a given distribution X?.