Ad
  • Custom User Avatar

    It might have been edited, although it is not explicit, example shows that. There are three 19s. There are three 361s, one for each, and when there aren't enough 361s the function returns false like case of the false example. If that were applied to the scenerio posed with the 2s you would need two 4s for it to be true, there is only one 4.
    I am assuming that is how it works anyways. I have not solved yet.

  • Custom User Avatar

    For those who are unsure what multiplicity means in this context:

    A multiplicity is the number of times an element appears in a set (more specifically, a multiset, i.e. a set that can have repeated elements).

    e.g. In the set {1, 2, 2, 3, 4, 5}, the number 2 appears twice, hence, it has a multiplicity of 2, whereas the numbers 1, 3, 4 and 5 have multiplicites of 1.