Capgemini interview question

Related to data structure and SQL and last year project