Viridien interview question

Simple math problems on geometry and probability