G-Research Interview Question

Compute conditional probabilities