Shell Interview Question

probability theory