Pergunta de entrevista da empresa Meta

LeetCode Medium regarding probability distribution.