Capgemini Interview Question

Related to data structure and SQL and last year project