Fungible Interview Question

Some basic data structure related questions