Ad
  • Custom User Avatar

    Will it be n^2 or linear?
    Tecnhically, "word.toLowerCase.count" will be executed n times.
    and the complexity method of this is N.
    so it will be n^2. But you never now in Scala, any opinions?