Fungible Interview Question

data structures on linked list, trees