Zoho Interview Question

They asked n-sum problem .