Salesforce Interview Question

Simularing the Bertrand’s Box paradox