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
Stack gate 2005 IT
[closed]
Bhargav Zantye 1
asked
in
DS
Mar 13, 2017
retagged
Dec 12, 2023
by
Hira Thakur
820
views
0
votes
0
votes
closed with the note:
Duplicate:https://gateoverflow.in/3758/gate2005-it-13
stack
data-structures
Bhargav Zantye 1
asked
in
DS
Mar 13, 2017
retagged
Dec 12, 2023
by
Hira Thakur
by
Bhargav Zantye 1
820
views
comment
Follow
share this
share
2 Comments
by
Bhargav Zantye 1
commented
Mar 13, 2017
reply
Follow
share this
Hi guys,
Please explain the meaning of the question and the approach u followed to solve
Answer given is option C
0
0
by
Samujjal Das
commented
Mar 13, 2017
reply
Follow
share this
https://gateoverflow.in/3758/gate2005-it-13
0
0
Please
log in
or
register
to add a comment.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
67
votes
67
votes
2
answers
1
Ishrat Jahan
asked
in
DS
Nov 3, 2014
17,194
views
GATE IT 2005 | Question: 13
A function $f$ defined on stacks of integers satisfies the following properties. $f(∅) = 0$ and $f (push (S, i)) = max (f(S), 0) + i$ for all stacks $S$ and integers $i$. If a stack $S$ contains the integers $2, -3, 2, -1, 2$ in order from bottom to top, what is $f(S)$? $6$ $4$ $3$ $2$
Ishrat Jahan
asked
in
DS
Nov 3, 2014
by
Ishrat Jahan
17.2k
views
gateit-2005
data-structures
stack
normal
0
votes
0
votes
1
answer
2
Abhrajyoti00
asked
in
DS
Oct 29, 2022
706
views
Self-Doubt: Stack Overflow in LinkedList
Can there be “Stack Overflow” in Linked list Implementation of stack? If Yes, how?
Abhrajyoti00
asked
in
DS
Oct 29, 2022
by
Abhrajyoti00
706
views
stack
data-structures
linked-list
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
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
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Programming
(4.1k)
DS
(2.0k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(24)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(682)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
243k
comments
79.7k
users
Recent Blog Comments
Hlo I'm Rupesh I got AIR 3485 in gate CS and AIR...
@Ajay Sasank here is the direct link...
Thank you for the post didi My GATE 2023 & 2024...
I Hope it helps 😊
Today's best post I seen thank you for motivation
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy