Inverted Pyramid Pattern

Inverted Pyramid pattern is another popular pattern. Its logic is similar to Inverted Mirrored Right Angle Triangle Pattern. Let us see the logic to create an inverted pyramid easily. Output Understand the above code’s logic and try to create your own pyramid without any help. To help you understand the logic better visit  RIGHT WAY … Read more

Mirrored Right Angle Triangle Pattern

Let us see a favorite pattern of interviewers – Mirrored Right Angle Triangle. This is one of the basic pattern to practice logic building before you try competitive programming. Output Understand the logic carefully and try to make other patterns yourself. To debug code easily refer the article RIGHT WAY TO DEBUG CODE USING PEN … Read more

Square Pattern in Java

Square pattern must be the most basic patterns of all. Anybody learning about nested loops should try to make a square pattern. Let us see how we can implement it. To understand the above pattern use pen and paper to iterate through each loop. After understanding the above logic, try to make a rectangle of … Read more