Viridien interview question

probability question