Ad
  • Custom User Avatar

    I was running into this issue initially(solving in Java). It could be using the frequency method in java to essentially assert that the 3 words in the returned array "appear" that many times in the input string. My hint to you is make sure that you are replacing all posiblle delimiters correctly. You can pass the inital sample tests because the input strings do not contain delimiters "sandwiched" between two words (eg. "word word word(some delimiter)word"). Remember a word is a defined as a string of characters (a-z) that can contain one or more apostrophes.

  • Custom User Avatar

    ahhhh you sly dog..okay got that covered now but now I am getting incorrect frequencies..what exactly does that signify?

    EDIT: figured it out and solved...thank you for the assistance

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I am getting the same error and I used Klopma's workaround method but I still get the AssertionError expected: java.util.Arrays$ArrayList<[]> but was: java.util.Arrays$ArrayList<[]>