Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 298 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 298 Bytes

Christmas Tree

Given a number of rows render a tree with that many rows. For example, given 3 rows render the following tree:

  *
 ***
*****
  |
   *
  ***
 *****
*******
   |

Given 5 rows it should render the following:

    *
   ***
  *****
 *******
*********
    |