HashedIn by Deloitte Interview Question

Mainly about data structures