TuSimple Interview Question

One algorithm questions each round.