Pergunta de entrevista da empresa LinkedIn

Write a function that returns a number between 0 to 6 with uniform probability, but by making use of another function that outputs 0 with probability p and 1 with probability 1-p

Resposta da entrevista

Sigiloso

2 de fev. de 2022

Google this, you will find similar questions