Which is better using set or using priority queue. if we want to insert and retrieve in sorted order


#1

i was like what is this.