Viridien Interview Question

probability question