Spooky Sale: 10% off Premium yearly · $118.80 for the first year · until Nov 6Get it

Deep-ML
Learn
Problems1,200+ hands-on ML problemsLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium
      Intuition
      44 of 130

      Calls per minute

      A help line gets rate calls a minute on average. Callers don’t know about each other: each call comes at a random moment, and any moment is as likely as any other. Write chance_of_calls(rate, calls): the chance that one minute brings exactly calls calls.

      A help line that gets 3 calls a minute on average, minute after minute; each tick is a call, and the bars below tally how many calls each minute brought. Cutting the minute into 60 one-second slots, each ringing or not, misses the seconds that bring two calls. The goal is the bars it ends on. Once it has played, click a bar.

      A help line: 3 calls a minute on average, each at a random moment.3 calls a minute1 min4 calls0:001:00calls012345678910
      Your functionchance_of_calls(rate, calls)
      ratehow many calls the line gets in a minute, on average, e.g. 3 (may be a fraction, e.g. 0.5)e.g. 3
      callshow many calls you want in one minute, exactlye.g. 0
      returnsthe chance that a minute brings exactly that many calls
      solution.pyLoading Python
      Sign in for an AI hint
      ← How many heads?Until the first six →