Pregunta de entrevista de Revolut

maximum likelihood estimation for Bernoulli distribution