Rhombus Pattern

0

0 votes
Medium
Problem

Given an input 'n' print the pattern in rhombus.

Sample Input :

3

Sample Output :

Sample Input
3
Sample Output
- - 1 - -
- 1 2 1 -
1 2 3 2 1
- 1 2 1 -
- - 1 - -
Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?