Skip to content

excalios/Hampa-Stair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stair Problem

Change the function so it'll create an upside down stair according to the inputted number

Example:

Input:
5
Output:
*****
 ****
  ***
   **
    *
Input:
10
Output:
**********
 *********
  ********
   *******
    ******
     *****
      ****
       ***
        **
         *

Getting started

Prequisites

Steps

  1. Git clone the repo
  2. run npm install
  3. Change the function in main.ts
  4. run the test npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published