Frequency Queries

  • + 0 comments

    Since query 2 only removes a single element at most, there's no need to use the temp variable.