Skip to content

crashy7/Random_Problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Random_Problems

Problem_1 - STAIRCASE

Given N number of steps and the height of each step, print the 2D staircase that would result. (ASSUME ALL STEPS TO HAVE WIDTH=HEIGHT)

print_steps.py contains the solution to the above question: EXAMPLE 1:

Input: 4 1 2 1 3

Expected Output:

        * * * * 
        *
        *
      * * 
  * * * 
  *
* * 
*

EXAMPLE 2:

Input: 2 1 1 Expected Output:

  * * 
* * 
*

About

Interesting solves

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages