set, map, pq problems