Persistent Systems Interview Question

Print all elements of 2-d array in specific pattern.