Viridien interview question

The first question is about probability.