Interview Query

Random Seed Function

Have you seen this question before?

Let’s say you have a function that outputs a random integer between a minimum value, NN, and maximum value, MM

Now let’s say we take the output from the random integer function and place it into another random function as the max value with the same min value NN

  1. What would the distribution of the samples look like?

  2. What would be the expected value?

Next question: Meaningful Session Calculation
Loading comments