Luxoft Interview Question

Program to find pairs with sum k from array