We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Take N (number of rows), print the following pattern (for N = 4).
1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4
Input Format
Constraints
0 < N < 10