Capgemini interview question

Assessment was combination of Coding + DSA