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
ok that is what i needed , thanks bro!
priority_queue can also be used
Please google such type of things.