any container that stores duplicate elements in a sorted manner ?

can anyone suggest me a container that stores duplicate elements ? set does that , but it does not stores duplicates.

well multisite in c++ is a sty that does that , it stores duplicates also :slight_smile:

1 Like

ok that is what i needed , thanks bro!

priority_queue can also be used

1 Like

Please google such type of things.

//