Cognizant Interview Question

Technical with scenarios and mostly DSA