ArcBest interview question

The 1st round is programming questions