Uber Interview Question

How would you implement a system that matched riders with cars.