Store the positive and negative products returned by calculating for the remaining arrays
pair < int , int > temp = calculateProduct ( List , index + 1 ) ; int positive = temp . first ; int negative = temp . second ;