Question

Which data structure supports extraction of both min and max in O(1) time and insertion in O(log
n)?

A Binary heap
B Min-Max heap
C Stack
D AVL tree
E Priority queue with array
Practice Next

Hey! Ask a query