Cognizant interview question

Java based, full stack related