Amazon interview question

Giver an array of array of integer return an array which is flattened.