MapleLabs Interview Question

Basic questions on data structures