Arrays

  • + 0 comments

    Ah, if all the words are the same in the input this is O(n^2) because count() will iterate through the entire set n times.