Glean·Machine Learning Engineer·Technical Phone Screen
- Given a train schedule where each train is a list of stations (index = arrival time), implement a function that determines whether a passenger can travel from a start station to an end station. Passengers can transfer between trains at shared stations even if they arrive at different times, since they can wait.
“The waiting mechanic is the part that trips people up.”