Caterpillar Interview Question

All were easy