Nettechnocrats interview question

how to convert multidimensional array to one dimensional