Deloitte Interview Question

Data structures