Priority Queue And Double Ended Queue