Odessa interview question

Tree traversal algorithm, linked list