Capgemini Engineering interview question

linked list question along with tress