Distribute Array on two arrays
<p>I have an array with different numbers (integers). The length of that array is not set, so it is different every time I run my program. Then I have two other arrays and I want the program to evaluate all possibilites for the distribution of the first array into the other two arrays. For example:</p>

<pre><code>Array 1: 1,3,5
</code></pre>

<p>Now the programm should make the other two arrays for example like this:</p>

<pre><code>Array 2: 1,3
Array 3: 5
</code></pre>

<p>Or like this:</p>

<pre><code>Array 2: 1,5
Array 3: 3
</code></pre>
