ThoughtSpot Interview Question

Train scheduling algorithm based on FCFS