Informatica Interview Question

print matrix in spiral order