Phenom interview question

How would you code a system similar to Uber?