Find earliest common slot | Uber Interview Question