7 years ago in Data Structure

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

[A] 2 deletions and 3 additions
[B] 3 additions and 2 deletions
[C] 3 deletions and 3 additions
[D] 3 deletions and 4 additions

Overall Stats

Attempted 277
Correct 78
Incorrect 46
Viewed 153

Deepali Nimje - 4 years ago

somebody plz exam this

Pkchandiya Brahman - 7 months ago

Pkchandiya Brahman from Larkana, Pakistan is saying 3 deletions and 3 additions is correct answer

Lets Know - 4 years ago

Lets Know from Pakistan is saying 3 deletions and 3 additions is correct answer

Baerov Bogdan - 4 years ago

Baerov Bogdan from Mogosoaia, Romania is saying 3 additions and 2 deletions is correct answer

Rohan Bhosale - 4 years ago

Rohan Bhosale from Pune, India is saying 3 deletions and 3 additions is correct answer

Related Questions

Which one of the following permutations can be obtained the output using stack assuming that the input is the sequence 1,2,3,4,5 in that order ?

• [A] 3,4,5,1,2
• [B] 3,4,5,2,1
• [C] 1,5,2,3,4
• [D] 5,4,3,1,2

The postfix expression for * + a b - c d is?

• [A] ab + cd - *
• [B] ab cd + - *
• [C] ab + cd * -
• [D] ab + - cd *

The following sequence of operation is performed on stack : push(1),push(2),pop,push(1),push(2),pop,pop,pop,push(2),pop. The sequence of popped out values are ?

• [A] 2,2,1,1,2
• [B] 2,2,1,2,2
• [C] 2,1,2,2,1
• [D] 2,1,2,2,2