Data Structures

1:

The initial configuration of a queue is a, b, c, d, ('a' is in the front end). To get the configuration d, c, b, a, one needs a minimum of

A.

2 deletions and 3 additions

B.

3 deletion and 2 additions

C.

3 deletions and 3 additions

D.

3 deletions and 4 additions

 

Answer : C

Explanation :

Aamir said: (7:20pm on Thursday 10th November 2016)
queue is open from both the ends a,b,c are removed and inserted 3 times each, d remaining untouched

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.