Cognizant Interview Question

Basic Coding questions and questions based on oops