Fungible interview question

data structures on linked list, trees