in java
If the following integers 3,8,6,4,1 are entered into a datastructure in the exact order given. Say an item is deleted usingonly a basic data structure operation. For which of the followingdata structures ( each with its basic deletion operation) is thevalue of the deleted item 1? more than one answer can be right
a. hash table remove(int x);
b. queue, dequeue()
c. stack, pop()
d. priority queue, deleteMin()
Expert Answer
An answer will be send to you shortly. . . . .