Larsen & Toubro interview question

regarding datastructures