Capgemini Engineering interview question

Technical interview was more on the data structure-- trees and linked list