Pergunta de entrevista da empresa Cognizant

They asked Nested loop question