InterviewDB Question

MongoDB SWE Onsite - Random Dice Roll

Question Details

Problem Simulate rolling one or more dice, computing the probability distribution of outcomes or implementing a weighted random generator. Likely LeetCode equivalent LeetCode 528 - Random Pick with Weight. Tags probability,simulation,math,swe

Full Details

🔒

Unlock all MongoDB questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a mongodb interview during the onsite round.

It covers the following topics: Coding, Onsite .