S&P Global interview question

Data Structures and the projects done earlier