Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
MadeEasy Subject Test: Programming & DS - Queues
Hradesh patel
asked
in
DS
Jan 13, 2017
recategorized
Mar 6, 2019
by
adeebafatima1
293
views
2
votes
2
votes
# plz check ??? i missed something
made-easy-test-series
data-structures
queue
Hradesh patel
asked
in
DS
Jan 13, 2017
recategorized
Mar 6, 2019
by
adeebafatima1
by
Hradesh patel
293
views
answer
comment
Follow
share this
share
2 Comments
by
Samujjal Das
commented
Jan 13, 2017
reply
Follow
share this
Same question
https://gateoverflow.in/3463/gate2007-it-30
2
2
by
dd
commented
Jan 13, 2017
reply
Follow
share this
reverse queue
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
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.
Rahul Jain25
answered
Jan 13, 2017
by
Rahul Jain25
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
1
answer
1
Kalpataru Bose
asked
in
DS
Jan 20, 2018
319
views
MadeEasy Test Series 2018: Programming & DS - Queues
Can someone explain the solution along with a picture of how the steps are taking place?
Kalpataru Bose
asked
in
DS
Jan 20, 2018
by
Kalpataru Bose
319
views
made-easy-test-series
programming-in-c
queue
0
votes
0
votes
1
answer
2
manvi_agarwal
asked
in
DS
Jul 30, 2018
235
views
MadeEasy Workbook: Programming & DS - Queues
https://gateoverflow.in/?qa=blob&qa_blobid=10936115150698131975
manvi_agarwal
asked
in
DS
Jul 30, 2018
by
manvi_agarwal
235
views
made-easy-workbook
data-structures
queue
3
votes
3
votes
5
answers
3
Rishabh Gupta 2
asked
in
DS
Jan 23, 2018
1,920
views
MadeEasy Test Series 2018: Programming & DS - Stack
Consider the following statements: S1: If stack is implemented as an array, all the operation push, pop, is_empty stack ( ), delete stack ( ) can be performed in constant time. S2: If stack is implemented as a linked list, ... S4: Circular queues can be implemented with the help of the stack data structure. Which of the following option is false?
Rishabh Gupta 2
asked
in
DS
Jan 23, 2018
by
Rishabh Gupta 2
1.9k
views
data-structures
stack
queue
made-easy-test-series
1
vote
1
vote
2
answers
4
CHïntän ÞäTël
asked
in
DS
Dec 10, 2018
691
views
MadeEasy Subject Test 2019: Programming & DS - Binary Tree
four vertices {A,B,C,D} is given which has only vertex D as a leaf total number of binary tree are possible when every binary tree has four node!
CHïntän ÞäTël
asked
in
DS
Dec 10, 2018
by
CHïntän ÞäTël
691
views
made-easy-test-series
data-structures
binary-tree
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
All India GO Classes Mock test
NTA UGC NET JRF December 2022 Apply Online Form 2023
Life happens, just chill and do hardwork
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.8k)
Programming
(3.9k)
DS
(1.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
Eligibility Criteria: Discipline of...
4-year B.Tech./B.E. degree or a MSc./MCA degree...
I am not sure about others but I would pay 2X...
@DebRC Yes. This, time stamp and comparing...
Small feedback for next year. It would be great...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy