Question d’entretien chez Cognizant

Algorithm Question like logarithm and search