KLA Interview Question

Train and the bee problem.