X interview question

A/b testing framework and a probability question