From Rosetta Code
You wrote :
- It does not ensure that there is exactly one space between the columns in the last row.
But the code clearly does -- it measures the space needed for the largest item and adds one, as is clear from the code. (Of course, the examples show that it works in the particular test cases.)
- The solutions are supposed to calculate the space needed for the largest item in each column, not the largest item in the triangle. Kazinator (talk) 18:42, 21 March 2014 (UTC)