The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
Facebook Login
or
Email or Username
Password
Remember
Login
Register

I forgot my password
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
DFS depth first search
+2
votes
122
views
datastructures
dfs
graphalgorithms
graphconnectivity
asked
Jan 25, 2018
in
DS
by
budhu
(
139
points)

122
views
answer
comment
0
Option C
0
please provide complete explanation. in (c), R was discovered before Q, then how can it finish before Q?
0
You can see it here
https://www.geeksforgeeks.org/iterativedepthfirsttraversal/
0
yes, got it. thanks
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
0
Answers
← Prev. Qn. in Sub.
Next Qn. in Sub. →
← Prev.
Next →
Related questions
+1
vote
1
answer
1
DFS Depth First Search
asked
Dec 3, 2017
in
Algorithms
by
Shubham Kumar Gupta
(
449
points)

132
views
dfs
algorithms
graphalgorithms
datastructures
+1
vote
1
answer
2
Depth First Search: Finding if The graph is connected
Better Explanation??
asked
Dec 8, 2018
in
DS
by
pradeepchaudhary
Active
(
1.3k
points)

62
views
datastructures
dfs
graphalgorithms
+2
votes
0
answers
3
Depth first search
The maximum number of edges possible with UDG of n nodes,when DFS call on any random node in the graph result in stack size of 5. i.e. 5 function calls present in stack simultaneously are ......... Ans. 10
asked
Aug 21, 2018
in
DS
by
Na462
Loyal
(
7.1k
points)

180
views
dfs
datastructures
graphalgorithms
0
votes
0
answers
4
Depth First Search (DFS)
Consider the following sequence of nodes for the undirected graph given below$:$ $(1)PQSTWVUR$ $(2)PQRSTUWV$ $(3)PQRTUSVW$ A Depth First Search (DFS) is started at node $P.$The nodes are listed in the order they are first visited. Which all of the above are possible outputs$?$ $A)Only (2)$ $B)(1) and (2)$ $C)(2) and (3)$ $D)(1) and (2)$
asked
Nov 13, 2018
in
Algorithms
by
Lakshman Patel RJIT
Veteran
(
60.6k
points)

85
views
algorithms
graphalgorithms
dfs
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
Contesting Answer Key Link Is Live Now
Answer keys are released for Gate2020
My Experience at IIT Madras and Some Insights
GATE Meetup at CSA IISC on February 29 as part of CSA Open Day
Make Rank Predictor Dynamic (Again?)
All categories
General Aptitude
1.9k
Engineering Mathematics
7.6k
Digital Logic
2.9k
Programming and DS
4.9k
Programming
3.5k
DS
1.3k
Algorithms
4.4k
Theory of Computation
6.2k
Compiler Design
2.1k
Operating System
4.5k
Databases
4.1k
CO and Architecture
3.4k
Computer Networks
4.2k
Non GATE
1.4k
Others
1.5k
Admissions
595
Exam Queries
573
Tier 1 Placement Questions
23
Job Queries
72
Projects
18
Follow @csegate
Recent Blog Comments
Has anyone challenge TLB question? In GO all the...
challenge for the regular expression question
And for cs 43, I have this doubt (reposting...
For cs 16 refer to Arjun sir answer, O(nlogn) in...
I think in that question then have taken 1...
50,833
questions
57,705
answers
199,411
comments
107,565
users