Beware of bugs in the above code; I have only proved it correct, not tried it. Donald E. Knuth
Given an array of elements and sum. The program should displays the array elements which combinations equal to sum.
Write a program to give two sums from the array.
List of items form array: [2, 8, 3, 9, 5, 7, 3, 6] Sum of two items '8' : [3, 5]