Uber Interview Question

lc medium to hard. system design question along with behaviorals