Solve any Character or String pattern in Java

preview_player
Показать описание
This video explains simple tricks by which you can solve any character or word pattern programs on your own.

00:00 - Introduction
04:38 - Increasing triangle pattern with single character
05:06 - Increasing triangle pattern with increasing character in java
06:54 - Increasing triangle pattern with decreasing character in java
07:23 - Increasing triangle pattern with increasing character by 2 in java
08:07 - Increasing triangle pattern with alternate character in java
08:54 - Decreasing triangle pattern with alternate character in java
09:15 - Diamond pattern with increasing character in java
10:22 - Diamond pattern with increasing and decreasing character in java
10:52 - Increasing triangle character pattern with increasing columns in java
13:45- Decreasing triangle character pattern with decreasing columns in java
14:10 - Hill triangle character pattern with increasing character in java
14:52 - Increasing triangle character pattern with decreasing columns in java
15:15 - Decreasing triangle character pattern with decreasing columns in java
16:06 - Hill character pattern with increasing and decreasing character in java
17:09 - Increasing triangle pattern with increasing character in columns using given word in java
19:12 - Increasing triangle pattern with increasing character in columns using revers word in java
20:02 - Increasing triangle pattern with increasing character in columns using given word in java
21:01 - Increasing triangle pattern with increasing character in columns using given word in java
21:21 - Decreasing triangle pattern with decreasing character in column using given word in java
Рекомендации по теме
Комментарии
Автор

stg this channel deserves more recognition..made the concept 10x simpler! thankk so muchh!

thasneem-
Автор

The best video I came across regarding patterns...! :)Simple to understand and even for application what we have learnt..!

thotabhavana
Автор

It's just amazing.Thank you for the videos

moulyanerella
Автор

Very useful your videos are keep uploading!
Thanks😊

skygazer
Автор

This video is best to learn letter pattern

Nausikhiya
Автор

9:05 what is the need of initialising p=5 there ??

rojindevadas
Автор

Thank you so much! This is very useful for ICSE class 10 computer students as well! Much appreciated! 😇

adi_is_back
Автор

How to slove double hill pattern using above technique. ??

SagarKasar-bxrr
Автор

mam in the patterns with word can we assign string s= "REDOC" instead of string s= "CODER" then we will not have to change the value of p to 4

akshatsingh
Автор

mam can we use this same method in C also?

gboy
Автор

Ok so can you tell me that what is main thing in java to do any program do you have some idea

Nausikhiya
Автор

Oh My God, it is
Alien Level Trick to solve pattern. it covers almost 80% of the Matrix Pattern Program.

I had a doubt please clarify me..
This Program is efficient on applications? According to BIG 'O' Notation?

This may useful to crack my Interviews.

vekateswaran
Автор

how do capitalize only the first column

alexthecreator
Автор

Sorry ma'am not alphabets pattern; I want to print real 'A, B, C ---Z' and 'a, b, c---z', 0, 1, 2...9 and special characters like $, %, ^, &, *, @, ~, )(, [ # and any type of curve pattern etc. All these with a smooth edges. Please make video this. You can just tell the most basic that will be applicable to all.

mailareppapujar
Автор

correct hill pattern solution because it doesn't work with given tringle both edges having 'A' according to code.

lrtwxwy
Автор

Hallow diamond pattern program cheyandi madam

kishorejalakam
Автор

wouldn't that be simpler to build diamond like this?

public class Patterns {
public static void main(String[] args) {
pattern31(5);
}
static void pattern31(int n) {
n = 5;
for (int row = 1, p='A'; row <= 2*n; row++, p++) {
int columns = row > n ? 2 * n - row : row;
int space = n - columns;
for (int s = 0; s <= space; s++) {
System.out.print(" ");
}
for (int col = 1; col <= columns; col++) {
System.out.print((char) p);
}
for (int col = 2; col <= columns; col++) {
System.out.print((char) p);
}
System.out.println();
}
}
}

Suleyman
Автор

Hi in this Video Subtitles are display Wrong . Plz Next Time You Should Not Repeated.Don't Fell Bad.

paladugumahesh
welcome to shbcf.ru