ValueLabs interview question

Questions on data structures in detail