HARMAN interview question

data structure