Pregunta de entrevista de John Deere

What data Structures to use in given cases?