DXC Technology interview question

Data Structure, algorithms and OOP