Capgemini Invent interview question

About pseudo coding and data structures