-> Match the pattern number to pattern question number. For example patterr no. 3 = p3.cpp
*******
* *
* *
* *
* *
* *
*******
*
**
***
****
*****
******
*******
******
*****
****
***
**
*
*
**
***
****
*****
****
***
**
*
*
**
***
****
*****
******
*******
*******
******
*****
****
***
**
*
*
**
***
****
*****
****
***
**
*
* * * * * * *
* * * * * *
* * * * *
* * * *
* * *
* *
*
*
* *
* * *
* * * *
* * * * *
* * * *
* * *
* *
*
*
***
*****
*******
*********
***********
*************
***** *****
**** ****
*** ***
** **
* *
* *
** **
*** ***
**** ****
***** *****
*
* *
* *
* *
* *
* *
* *
* *
* *
*
1
2*2
3*3*3
4*4*4*4
5*5*5*5*5
6*6*6*6*6*6
7*7*7*7*7*7*7
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
ABCDEFEDCBA
ABCDEFGFEDCBA
1
12
1 3
1 4
1 5
1 6
1234567
1234567
2 7
3 7
4 7
5 7
67
7
********1********
*******2*2*******
******3*3*3******
*****4*4*4*4*****
****5*5*5*5*5****
***6*6*6*6*6*6***
**7*7*7*7*7*7*7**
*8*8*8*8*8*8*8*8*
9*9*9*9*9*9*9*9*9
1
121
12321
1234321
123454321
12345654321
1234567654321
1
2*3
4*5*6
7*8*9*10
11*12*13*14*15
11*12*13*14*15
7*8*9*10
4*5*6
2*3
1
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
16 17 18 19 20 21
22 23 24 25 26 27 28
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 6 15 20 15 6 1
1
123
12345
1234521
123454321
12345
123
1
* *
** **
*** ***
**** ****
**********
**********
**** ****
*** ***
** **
* *
To clone this repository to your local machine, follow these steps:
-
Copy the repository URL by clicking on the "Code" button and selecting either HTTPS or SSH.
-
Open your terminal or command prompt.
-
Use the git clone command followed by the copied repository URL.
For HTTPS:
git clone https://github.com/ankur-jat0009/patternQuestion.git