TuSimple interview question

One algorithm questions each round.