Uber Interview Question

how would you design surge pricing?