Question d’entretien chez Xperi

write code for tree traversal and reverse the linked list