Oracle interview question

Make a given pattern taking 2d array as input.