Capgemini Engineering interview question

mostly on datastructures and core topics