by damip · 3y ago · 0 comments
Write a python program that efficiently computes the probability that a random permutation of r ones and w zeros contains k consecutive ones.