Frequency Queries

  • + 0 comments

    The following should be removed.

    if (value == 0) { frequencies.add(1); }

    In the contstraints section it mentions that "z" is >= 1.

    Also if 0 was possible you would be adding a 1 and then a 0 from your next statment.