Lyft Interview Question

How do you decide how long to run an experiment for?