Oracle Interview Question

Spiral Matrix in round 1.