Capgemini Engineering interview question

Linked list ,sorting, and some stream related question