Cognizant interview question

basic data structures, algorithms, problem solving and SQL