Cognizant interview question

Window functions