Caterpillar interview question

Mostly try to understand real case