For n=2, shouldn't the output beSanny wrote:For n = 2, output should beCode: Select all

`1 2`

1 2

2 1

?

I haven't tried this problem yet, but the prob desc. does say clockwise and anticlockwise. And the sample input consists of lines that mirror perfectly....