## Program to print double headed arrow pattern

Given an integer N which is the number of rows, the task is to draw the number pattern in the shape of a double headed… Read More »

## Sum of all the numbers in the Nth row of the given triangle

Given a positive integer N, the task is to find the sum of all the numbers in the Nth row of the below triangle. 1… Read More »

## Sierpinski Triangle using Graphics

Sierpinski triangle is a fractal and attractive fixed set with the overall shape of an equilateral triangle. It subdivides recursively into smaller triangles. Approach: In… Read More »

## Python | Pattern Generation using time() module

This article aims to print patterns using the time() module in python. Examples: Input : 5 Output : 5 patterns using time with 5 rows… Read More »

## Printing the Triangle Pattern using last term N

Given a number N which represents the last term of the Triangle Pattern. The task is to print the Triangle Pattern from 1 to N,… Read More »

## Program to print the Alphabets of a Given Word using * pattern

Given a word str, the task is to print the alphabets of this word using * pattern. Examples: Input: GFG Output: ****** * * *… Read More »

## How to learn Pattern printing easily?

The task is to print a pattern as shown in the example for a given integer value. The goal is not to print just this… Read More »

## Get last node of the binary tree following given pattern starting from X

Given a binary tree, target node X and a string patt. The task is to find the last node of the binary tree following the… Read More »

## Program to print Step Pattern

The program must accept a string S and an integer N as the input. The program must print the desired pattern as shown below: Examples:… Read More »

## Print numbers in matrix diagonal pattern

Given an integer N, the task is to print the given pattern. Examples: Input: 3 Output: 1 2 4 3 5 7 6 8 9… Read More »

## Python Program to print digit pattern

The program must accept an integer N as the input. The program must print the desired pattern as shown in the example input/ output. Examples:… Read More »

## Substring Reverse Pattern

Given a string str, the task is to print the pattern given in the examples below: Examples: Input: str = “geeks” Output: geeks *kee* **e**… Read More »