Ad
  • Default User Avatar

    Solved it: I had missed the edge case where the remaining words fitted exactly with one space per word on the last line and accidentally added a "\n" character to it.
    This caused the test to search for a word on the next line that was not there.

  • Default User Avatar

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