Oracle Interview Question

Make a given pattern taking 2d array as input.