SuperOps interview question

About problem solving using DSA