wissenTechInterview 20thdec2023
wissenTechInterview 20thdec2023
class Main
{
public static void main(String[] args) {
int[] original = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
int splitSize = 3;
/* expected Output
[0, 1, 2]
[3, 4, 5]
[6, 7, 8]
[9]
*/
System.out.println(Arrays.toString(flattenedArray));
}