NIIT Limited Interview Question

Related to CV and about basic algorithms