algorithms.tutorialhorizon.com

Find two elements whose sum is closest to zero | Algorithms

Given an array of positive and negative integers, write a algorithm to find the two elements such their sum is closest to zero.Given an array of positive and negative integers, write a algorithm to find the two elements such their sum is closest to zero.