in DS recategorized by
293 views
2 votes
2 votes

# plz check ??? i missed something

in DS recategorized by
293 views

2 Comments

2
2
reverse queue
0
0

1 Answer

1 vote
1 vote
You missed the function call f(Q) that is called recursively. And at last recursive call first insert will be done and so on, which eill reverse queue.

Related questions