Number patterns set 6

Number patterns set 6
Number patterns set 6

When we talk about the interview questions apart from theoretical part coding skill is also important. If you have been following our patterns series then you are on the right track of cracking the coding interview.

In this series we have learn how to print star patterns , English alphabet patterns and character patterns. Now time to print some number patterns.

Below you will find the code to print different types of number pattern using Java , C++ , Python and JavaScript.

In this blog we have shared set 6 of 50+ number patterns, you can find all number patterns here.

Visit the following links to check mixed pattern programs 

Click on the pattern given below and you will get redirected to the code.

Pattern 1

12345
 1234
  123
   12
    5
   45
  345
 2345
12345

Code for pattern 1

Pattern 2

1
121
12321
1234321
123454321

Code for pattern 2

Pattern 3

    1    
   121   
  12321  
 1234321 
123454321   

Code for pattern 3

Pattern 4

1 
2 6 9 
3 7 10 12 13

Code for pattern 4

Leave a Reply