Ad
  • Custom User Avatar

    In the test cases, several of the results look to be missing spaces towards the bottom teirs of the tower (see the last two indexes in the Expected array below). Wouldn't the second to last (index 3 in the below example) still have one space on each end?

    Expected: '[" * "," *** "," ***** ","",""]',
    instead got: '[" * "," *** "," ***** "," ******* ","
    *******"]'

    Edit: It looks like the comment strips out some of the extra spaces/padding in the array indexes, but either way, the second to last in the expected doesn't have any space paddings on either side as it looks like it should.