1

Poisson PMF

Unsolved
Prob. and Stats

Difficulty: 2 | Problem written by peter.washington
Problem reported in interviews at

Amazon
Apple
Facebook
Google
Netflix

Your website advertisement gets \(\mu\) clicks per day on average. What is the probability that the website will get exactly x clicks tomorrow?

Sample Input:
<class 'list'>
mu: 5
x: 3

Expected Output:
<class 'float'>
0.1403738958142805

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Optio minus in magnam reiciendis sit, suscipit delectus molestiae accusamus tenetur distinctio, quidem ipsum excepturi voluptatem nihil adipisci iure cum consequatur illum a voluptatum? Possimus illum eveniet quo? Incidunt accusantium accusamus iusto veniam atque illo dolorem enim soluta fugit sit, officiis ad architecto ipsa, quibusdam ipsum hic temporibus commodi odio libero sequi nulla aspernatur, ipsam unde adipisci quaerat molestias officiis soluta, debitis nemo reiciendis distinctio veniam?

Similique distinctio repellendus accusamus dolor quia facilis fugiat quasi, blanditiis at ex, perspiciatis obcaecati ducimus consectetur voluptates quasi nulla illo minus impedit?

Maxime eaque fugit, ipsa repellat ad quaerat nulla sed voluptatum, recusandae nesciunt unde ipsam aliquid odio laudantium dignissimos aspernatur qui exercitationem quibusdam, perspiciatis iste neque inventore totam placeat.

This is a premium feature.
To access this and other such features, click on upgrade below.

Ready.

Input Test Case

Please enter only one test case at a time
numpy has been already imported as np (import numpy as np)