Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 393 Bytes

ASSUMPTIONS.md

File metadata and controls

5 lines (5 loc) · 393 Bytes

ASSUMPTIONS:

  1. All numbers are positive integers
  2. There are n numbers in the nth row
  3. When reading rows from standard input, in case of bad input, there will be empty List parsing result and it is possible to correct the input in the next line
  4. After the triangle form is taken from the stdin, we check if form is valid, according to 2., and if not we return empty string as a result