I am faced with this optimization challenge:
Take for example the array, [1, 2, 4, 3, 3, 6, 2, 1, 6, 7, 4, 2] I want to split this into multiple sub-ar
[1, 2, 4, 3, 3, 6, 2, 1, 6, 7, 4, 2]