Ad
  • Custom User Avatar

    And what is relevant reaction on such "bad" data? Should I throw an exeption or should I jast handle that with some specific answer?

  • Custom User Avatar

    I tryed to solve this with Java. And for void string, correct string array and array with only 1 element it is passed. But there are 3 more tests under submittion. Is there any chances to reveal the code of that tests or we should relay on our luck only?

  • Custom User Avatar

    Hi!
    Does anybody know what we should return in case where the format of inputed strings are not meet the conditions? For example: if the inputed string is just " 20" and we return 20 it fails. As well as if we return "", null or (20). So what should it be?

  • Custom User Avatar

    Thanks! You're right, I didn't consider that possibility.

  • Custom User Avatar

    Guys, I'd finally reached an impasse: I can't get throw the 7th test of submiting. Does anybody know what kind of sequence it has as an input for Java vercion of kata?