Ad
  • Default User Avatar

    ...
    } else if (finalWords.contains("7")) {
    arrOfWords[6] = finalWords;
    }
    ...

    Above is the wrong part. I guess you can easily fix it by yourself :)

  • Custom User Avatar

    over 6K solvers in Java indicate the tests are just fine, anyway, when your code doesn't work, it's not a kata issue. you could ask a question, lable it as such. if you post code, use the spoiler tag and proper code markdown