Statistical

Let's say you have a dice with X sides. Each side has a different probability of landing. Implement an algoirthm that simulates the rolling of the dice a given number of times.

Was asked at

Practice this question with AI

First session is free - no credit card required.

Go Premium

More interviews, more skills, more success.

Practice More Questions

Community Answers

1 answer from the community

Unlock Community Insights

Share your approach to this question and unlock all community answers with detailed insights

Give & Take

Everything You Need to Ace DS Interviews

Frameworks, real cases, and advanced techniques

Proven Frameworks
Structured approaches that work every time
Adequate vs Great Analysis
Learn exactly what makes answers stand out
Real Case Breakdowns
Expert commentary on actual interviews
Advanced Storytelling
Master impactful delivery & presence
See Full Curriculum →

Interview question asked to Data Scientists interviewing at AT&T, Thumbtack, LogMeIn and others: Let's say you have a dice with X sides. Each side has a different probability of landing. Implement an algoirthm that simulates the rolling of the dice a given number of times..