Capgemini interview question

Based on final year project