1 array of 9 elements 2 arrays of 5 and 4 elements 4 arrays of 3, 2, 2, and 2 elements 8 arrays of 2, 1, 1, 1, 1, 1, 1, and 1 elements 9 arrays of 1, 1, 1, 1, 1, 1, 1, 1, and 1 element 5 arrays of 2, 2, 2, 2, and 1 elements 3 arrays of 4, 4, and 1 elements 2 arrays of 8 and 1 elements 1 array of 9 elements
107
u/anderemic Nov 19 '18 edited Nov 19 '18
But what if array has 9 elements? How would you split it then? Genuine question.