Hexagon interview question

Questions related to Data Structures