Compute sample size and test duration | Meta Interview Question