How is numRows = 0 even considered a logically valid input


The pascal triangle starts with a height of 1 so the input of numRows = 0 is even logical. and the expected value for 0 is an empty vector<vector>. which is not how one would respond to an error case to begin with.