Whenever you're ready, walk me through how you'd approach this.
Given an array, print all possible index combinations that can be added to form a given sum.