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