Programming, Coding, Technology, Python, Leetcode.
probabilities [0.1, 0.5, 0.2, 0.2], your function should return 1 10% of the time, 2 50% of the time, and 3 and 4 20% of the time. For a single run, we can’t get any better than our solution in Step 1. But if we work in the fact that we might have multiple calls, then we see a problem. We will