John Deere interview question

What data Structures to use in given cases?