📘 100 Pattern Printing Problems –
Reference Collection
Section A: Star-based Patterns
1. Right-Angled Triangle (Stars)
*
**
***
****
*****
2. Inverted Right-Angled Triangle
*****
****
***
**
*
3. Left-Aligned Triangle
*
**
***
****
*****
4. Inverted Left-Aligned Triangle
*****
****
***
**
*
5. Pyramid (Centered Stars)
*
***
*****
*******
*********
6. Inverted Pyramid
*********
*******
*****
***
*
7. Diamond Shape (Stars)
*
***
*****
*******
*********
*******
*****
***
*
8. Hollow Pyramid
*
* *
* *
* *
*********
9. Hollow Inverted Pyramid
*********
* *
* *
* *
*
10. Hollow Diamond
*
* *
* *
* *
* *
* *
* *
* *
*
11. Hourglass
*********
*******
*****
***
*
***
*****
*******
*********
12. Hollow Hourglass
*********
* *
* *
* *
*
* *
* *
* *
*********
13. Half Diamond (Right Side)
*
**
***
****
***
**
*
14. Half Diamond (Left Side)
*
**
***
****
***
**
*
15. Butterfly Pattern
* *
** **
*** ***
********
*** ***
** **
* *
16. Hollow Butterfly
* *
** **
* * * *
* ** *
* ** *
* * * *
** **
* *
17. Sandglass
********
*******
******
*****
****
*****
******
*******
********
18. Hollow Sandglass
********
* *
* *
* *
**
* *
* *
* *
********
19. X Pattern
* *
* *
* *
*
* *
* *
* *
20. Plus Pattern
*
*
*****
*
*
Section B: Number-based Patterns
21. Right-Angled Number Triangle
1
12
123
1234
12345
22. Inverted Number Triangle
12345
1234
123
12
1
23. Repeating Row Number Triangle
1
22
333
4444
55555
24. Floyd’s Triangle
1
2 3
4 5 6
7 8 9 10
25. Odd Number Triangle
1
3 5
7 9 11
13 15 17 19
26. Even Number Triangle
2
4 6
8 10 12
14 16 18 20
27. Palindromic Number Triangle
1
121
12321
1234321
123454321
28. Triangle of Consecutive Numbers
1
23
456
78910
29. Inverted Palindromic Triangle
123454321
1234321
12321
121
1
30. Pascal’s Triangle (5 Rows)
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
Section C: Alphabet Patterns
31. Right-Angled Alphabet Triangle
A
AB
ABC
ABCD
ABCDE
32. Repeating Alphabet Triangle
A
BB
CCC
DDDD
EEEEE
33. Alphabet Pyramid
A
ABC
ABCDE
ABCDEFG
ABCDEFGHI
34. Inverted Alphabet Pyramid
ABCDEFGHI
ABCDEFG
ABCDE
ABC
A
35. Palindromic Alphabet Pyramid
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
36. Hollow Alphabet Pyramid
A
A A
A A
A A
AAAAAAAAA
37. Diamond with Alphabets
A
ABC
ABCDE
ABCDEFG
ABCDEFGHI
ABCDEFG
ABCDE
ABC
A
38. Hollow Diamond with Alphabets
A
A A
A A
A A
A A
A A
A A
A A
A
39. Z-Shaped Alphabet Pattern
ABCDE
D
C
B
ABCDE
40. X-Shaped Alphabet Pattern
A A
B B
C
B B
A A
Section D: Mixed/Creative Patterns
41. Number Pyramid with Stars Separator
1*2*3*4*5
1*2*3*4
1*2*3
1*2
1
42. Star-Number Pyramid
*1*
**2**
***3***
****4****
43. Number-Star Right Triangle
1
2*
3**
4***
5****
44. Number Diamond
1
121
12321
1234321
123454321
1234321
12321
121
1
45. Alphabet-Star Alternating Lines
A
**
ABC
****
ABCDE
46. Mixed Palindrome (Numbers + Stars)
1
12*21
123**321
1234***4321
47. Spiral Matrix (N=4)
1 2 3 4
12 13 14 5
11 16 15 6
10 9 8 7
48. Spiral Stars (N=5)
*****
* *
* * *
* *
*****
49. Zig-Zag Numbers
1 2
3 4
5 6
7
8 9
10 11
12 13
50. Wave Pattern with Stars
* *
* *
* *
* *
*
* *
* *
* *
* *
Section E: Advanced Star-Based & Geometric Patterns
51. Concentric Squares (Stars)
*********
* *
* ***** *
* * * *
* * * * *
* * * *
* ***** *
* *
*********
52. Concentric Numbers Square (N=4)
4444
4334
4324
4334
4444
53. Hollow Square (Border)
*****
* *
* *
* *
*****
54. Checkerboard Pattern (Stars and Spaces)
* * * * *
* * * *
* * * * *
* * * *
* * * * *
55. Square Filled with Numbers
12345
12345
12345
12345
12345
56. Square of Increasing Numbers
12345
23456
34567
45678
56789
57. Diagonal (Main Diagonal Stars)
*
*
*
*
*
58. Double Diagonal (X in Square)
* *
* *
*
* *
* *
59. Border Plus Cross
*****
* * *
*****
* * *
*****
60. Concentric Number Rings (N=5)
55555
54445
54345
54445
55555
Section F: Rhombus and Parallelogram Patterns
61. Solid Rhombus
*****
*****
*****
*****
*****
62. Hollow Rhombus
*****
* *
* *
* *
*****
63. Number Rhombus
11111
22222
33333
44444
55555
64. Star Parallelogram
*****
*****
*****
*****
*****
65. Hollow Parallelogram
*****
* *
* *
* *
*****
Section G: Pyramid Variations
66. Pyramid of Numbers (Right Aligned)
1
12
123
1234
12345
67. Inverted Number Pyramid
12345
1234
123
12
1
68. Pyramid of Odd Numbers
1
333
55555
7777777
69. Pyramid with Continuous Numbers
1
2 3
4 5 6
7 8 9 10
70. Continuous Number Pyramid Centered
1
23
456
78910
Section H: Alphabet Advanced
71. Alphabet Continuous Triangle (Rows A→Z)
A
B C
D E F
G H I J
72. Alphabet Continuous Pyramid
A
B C
D E F
G H I J
73. Alphabet Sandglass
ABCDE
ABCD
ABC
AB
A
AB
ABC
ABCD
ABCDE
74. Alphabet Diamond Sequence
A
B C
D E F
G H I J
D E F
B C
A
75. Alphabet Spiral in Square (N=4)
ABCD
LMNE
KOF
JIHG
76. Hourglass Alphabet
ABCDEDCBA
ABCDCBA
ABCBA
ABA
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
77. Hollow Alphabet Diamond
A
B B
C C
D D
E E
D D
C C
B B
A
78. Alphabet “L” Shape
A
A
A
A
A A A A A
79. Alphabet Plus Shape
C
C
AAAAA
C
C
80. Alphabet Concentric Square (N=3)
CCC
C C
CCC
Section I: Mixed Complex Patterns
81. Number Palindrome Diamond
1
121
12321
1234321
123454321
1234321
12321
121
1
82. Alternating 0-1 Triangle
1
01
101
0101
10101
83. Zig-Zag Stars (3 lines)
* *
* * * *
* * *
84. Hollow Square with Diagonals
*****
* * *
* * *
* * *
*****
85. Hollow Number Square with Diagonals
11111
1 1
1 1 1
1 1
11111
86. Spiral Matrix (5x5 Numbers)
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
87. Snake Pattern Numbers (N=4)
1 2 3 4
8 7 6 5
9 10 11 12
16 15 14 13
88. Wave Pattern Numbers
1 2 3
4 5 6
7 8
9
89. “M” Shape (Stars)
* *
** **
* * * *
* * * *
* * *
90. “W” Shape (Stars)
* * *
* * *
* * * *
* *
Section J: Very Advanced / Creative
91. Concentric Circles (Approximation with Stars)
***
* *
* *
* *
* *
***
92. Heart Shape (Stars)
** **
*** ***
*******
*****
***
*
93. Hollow Heart Shape (Stars)
** **
* * * *
* *
* *
*
94. Swastika Pattern (N=7 Example)
* *
* *
* *
*******
* *
* *
* *
95. Hollow Square Spiral (Stars)
*******
* *
* *** *
* * * *
* *** *
* *
*******
96. Diamond Inside Square
*****
* * *
* * *
* * *
*****
97. Crossed Numbers (X Shape with Numbers)
1 1
2 2
3
2 2
1 1
98. Concentric Alphabet Square (N=4)
DDDD
DCC D
DC AD
DDDD
99. Chessboard with Numbers (N=5)
1 0 1 0 1
0 1 0 1 0
1 0 1 0 1
0 1 0 1 0
1 0 1 0 1
100. Spiral Alphabet Square (N=5)
A B C D E
P Q R S F
O X Y T G
N W V U H
M L K J I