ICP interview question

All questions were based on data structures and HLD