Frequency Queries

  • + 0 comments
    if(elem > 0) {
                    // b was already present.
                    second[elem]--;
                }
    

    whats the use of this line please make me uinderstand