Sollicitatievraag bij TVS Motor Company

Question from data structure and how we will solve it