Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
21.3K+ articles
Python
21.3K+ articles
Misc
8.5K+ articles
C++
4.3K+ articles
C Language
1.5K+ articles
Computer Science Fundamentals
1.3K+ articles
Matrix
1.1K+ articles
Basic Coding Problems
371+ articles
Python Pattern-printing
17+ articles
pattern-printing
171+ posts
Recent Articles
Popular Articles
Print the pattern 1*2*5*6 --3*4
Last Updated: 16 December 2022
Given integer N, the task is to print an upside-down triangle where the left half is made of elements in the range [1, N*(N+1)/2] and the right half is made of elements in...
read more
Greedy
Technical Scripter
Picked
Technical Scripter 2022
DSA
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
Technical Scripter
Computer Science Fundamentals
Picked
Technical Scripter 2022
DSA
pattern-printing
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
Java
C Language
C++
pattern-printing
Python Program to Print Alphabetic Triangle Pattern
Last Updated: 28 April 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
Python Program to Print Christmas Tree Star Pattern
Last Updated: 24 December 2024
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
C++ Program To Print Pyramid Patterns
Last Updated: 11 October 2024
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
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
Program to Print Inverted Right Half Pyramid Pattern (Star Pattern)
Last Updated: 18 January 2024
Given an integer N, print N rows of inverted right half pyramid pattern. In inverted right half pattern of N rows, the first row has N number of stars, second row has (N -...
read more
Picked
DSA
pattern-printing
Geeks Premier League 2023
Program to Print Right Half Pyramid Pattern (Star Pattern)
Last Updated: 29 January 2024
Given an integer N, print N rows of right half pyramid pattern. In right half pattern of N rows, the first row has 1 star, second row has 2 stars and so on till the Nth ro...
read more
DSA
pattern-printing
Scala-Arrays
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
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 Inverted Left Half Pyramid Pattern (Star Pattern)
Last Updated: 18 January 2024
Given an integer N, the task is is to print a left half pyramid pattern with N rows. In this pattern, the first row contains N stars, the second row contains N - 1 stars, ...
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
Program to Print Butterfly Pattern (Star Pattern)
Last Updated: 10 February 2024
Given an integer N, print N rows of Butterfly pattern.Examples: Input: 3Output: * *** ********* *** *Input: 5Output: * *** ***** ***...
read more
DSA
pattern-printing
Pattern Printing Problems
Last Updated: 21 April 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
1
2
3
4
...
12
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !