Number Pattern

Level EASY

Pattern for N = 4

       1
     23
   345
 4567
Input Format :
N (Total no. of rows)
Output Format :
Pattern in N lines
Sample Input :
5
Sample Output :
          1
        23
      345
    4567
  56789


Comments

Popular posts from this blog

Access and modify all the resources of our Wiki.js using WikiJS API

How to pass parameters in webhook?

MySQL Multi Source Master Slave Replication using GTID