1 votes 1 votes Can someone explain the solution along with a picture of how the steps are taking place? DS made-easy-test-series programming-in-c queue + – Kalpataru Bose asked Jan 19, 2018 • edited Mar 5, 2019 by ajaysoni1924 Kalpataru Bose 455 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply MiNiPanda commented Jan 19, 2018 reply Follow Share Is it _ abc_ ? 1 votes 1 votes Ashwin Kulkarni commented Jan 19, 2018 reply Follow Share Yes it is _abc_ correct @minipanda 1 votes 1 votes Please log in or register to add a comment.
2 votes 2 votes initially, p _ _ q r ; where front pointer point to q and rear pointer point to p; 1. enqueue 'a' --> p a _ q r 2. dequeue --> p a _ _ r 3. enqueue 'b' --> p a b _ r 4. dequeue --> p a b _ _ 5. enqueue 'c' --> p a b c _ 6. dequeue --> _ a b c _ hacker16 answered Jan 20, 2018 hacker16 comment Share Follow See all 0 reply Please log in or register to add a comment.