Cognizant Interview Question

They asked Nested loop question