I have an array of ints (e.g. 0, 2, 4, 7). Each value from the array I’d like to combine with another value of the array so that there should be every combination possible(e.g. [0, 2], [0, 4], [0, 7] but also [2, 0], [4, 0] and [7,0] and same for rest of values). What is the best and most resources (processing) effective way to achieve that?
thank you
iterate
jfromi+1EXAMPLE:
