Although the method to convert the String input into an array of integers works if the input is of the correct/expected format, an error will occur if the input is of the incorrect format. You guys should think about adding additional checks to ensure that the string input is in the right format and is correctly parsed.