Double Ended Queue And Priority Queue