Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Misc
7.7K+ articles
Python Programs
3.7K+ articles
Matrix
744+ articles
Computer Science Fundamentals
432+ articles
Basic Coding Problems
371+ articles
spiral
26+ articles
Python Pattern-printing
17+ articles
pattern-printing
172+ posts
Recent Articles
Popular Articles
Partition Array for Maximum Sum
Last Updated: 11 March 2026
Given an integer array arr[] and an integer k, partition the array into contiguous subarrays such that each subarray has a length of at most k. After partitioning, replace...
read more
DSA
pattern-printing
Pattern Printing Problems
Last Updated: 23 July 2025
In many interviewsstar, number, and character patternsare theMost Asked Pattern Programsto check your logical and coding skills. Pattern printing programs not only improve...
read more
DSA
pattern-printing
Print Butterfly Pattern (Star Pattern)
Last Updated: 26 March 2026
Given an integer N, print a butterfly star pattern with 2N − 1 rows. The number of stars increases from 1 to N in the upper half and then decreases from N − 1 to 1 in the ...
read more
DSA
pattern-printing
Program to Print Inverted Full Pyramid Pattern (Star Pattern)
Last Updated: 12 February 2024
Given an integer N, the task is to print a pattern of N rows representing an inverted full pyramid. In this pattern, the first row has (2 * N - 1) stars, the second row ha...
read more
DSA
pattern-printing
Scala-Arrays
Inverted Left Half Pyramid Star Pattern
Last Updated: 26 March 2026
Given an integer N, create an inverted left half pyramid pattern with N rows. In this pattern, the first row contains N stars, the second row contains N - 1 stars, and eac...
read more
DSA
pattern-printing
Program to Print Full Pyramid Pattern (Star Pattern)
Last Updated: 20 February 2024
Given an integer N, the task is to print a full pyramid pattern with N rows. In this pattern, each row contains an odd number of stars, ranging from 1 star in the first ro...
read more
DSA
pattern-printing
Program to Print Left Half Pyramid Pattern (Star Pattern)
Last Updated: 23 July 2024
Given an integer N, the task is to print N rows of left half pyramid pattern. In left half pattern of N rows, the first row has 1 star, second row has 2 stars and so on ti...
read more
DSA
pattern-printing
Print Right Half Pyramid Star Pattern
Last Updated: 26 March 2026
Given an integer N, print a right half pyramid star pattern with N rows. The first row has 1 star, the second row has 2 stars, and each next row has one more star than the...
read more
DSA
pattern-printing
Scala-Arrays
Program to Print Inverted Right Half Pyramid Pattern (Star Pattern)
Last Updated: 30 January 2026
Given an integer N, print N rows of an inverted right half pyramid pattern. In an inverted right half pattern of N rows, the first row has N number of stars, the second ro...
read more
Picked
DSA
pattern-printing
Geeks Premier League 2023
Java Program For Printing 180 Degree Rotation of Simple Half Left Pyramid
Last Updated: 22 September 2023
We can utilize 'for' and 'while' loops to print a 180-degree rotation of a simple half-left pyramid in Java as follows:Example of 180-degree Rotation of Simple Half-Left P...
read more
Java
Java Programs
Geeks Premier League
pattern-printing
Java-Pattern
Geeks Premier League 2023
Python Program to Print Christmas Tree Star Pattern
Last Updated: 23 July 2025
The "Python program to print Tree pattern" is a piece of code that creates a tree pattern out of asterisks (*) using Python. The indentation and amount of asterisks per ro...
read more
Python
Python Programs
pattern-printing
Python Program to Print Alphabetic Triangle Pattern
Last Updated: 23 July 2025
In this article, we examine a recursive method for printing character patterns in Python. Nesting loops are used in the conventional iterative approach to regulating chara...
read more
Python
Python Programs
pattern-printing
C++ Program To Print Pyramid Patterns
Last Updated: 23 July 2025
In this article, we will discuss the following top 16 pattern programs in C++ using star ( * ), numbers or other characters. Table of ContentSimple Pyramid Pattern in C++F...
read more
C++
pattern-printing
C++ Pattern Programs
CPP Examples
Hollow Half Pyramid Pattern Using Numbers
Last Updated: 20 March 2024
A hollow half-pyramid pattern using numbers is a type of pattern that seems like a pyramid shape mostly it is considered a star pattern but here we will be creating using ...
read more
Computer Science Fundamentals
pattern-printing
Print the pattern 2 2 1 1 $2 1
Last Updated: 13 March 2023
Given the number N, the task is to print a pattern such that in each line all the digits from N to 1 are present in decreasing order and the frequency of the elements in i...
read more
Picked
Technical Scripter 2022
DSA
pattern-printing
1
2
3
4
...
12
×
Advertisement