Capgemini interview question

Data structure problems, C language,