Merge 2D Array into Single Array
You are given a two dimensional array containing arrays of integers as an argument. Return a single array containing all of the integers from all of the arrays, maintaining the original ordering.
- Must return a single array of integers
solve([[1,2],,[4,5,6]]) > [1,2,3,4,5,6]
solve([[5,6],[3,4],[7,2]]) > [5,6,3,4,7,2]