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 CBT 2017: Algorithms - Graph Algorithms
Dulqar
asked
in
Algorithms
Jan 22, 2017
edited
Mar 6, 2019
by
adeebafatima1
596
views
2
votes
2
votes
made-easy-test-series
cbt-2017
algorithms
graph-algorithms
Dulqar
asked
in
Algorithms
Jan 22, 2017
edited
Mar 6, 2019
by
adeebafatima1
by
Dulqar
596
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
2
votes
Best answer
I think running Depth First Search will be enough to calculate the depth of The DAG
so complexity O(V+E)
so b shouldd be correct
Aboveallplayer
answered
Jan 22, 2017
selected
Jan 24, 2017
by
Sushant Gokhale
by
Aboveallplayer
comment
Follow
share this
3 Comments
by
Akriti sood
commented
Jan 27, 2017
reply
Follow
share this
what about undirected graph??then also we can do BFS or DFS righht??i guess BFS would be more preferrable
0
0
by
Aboveallplayer
commented
Jan 28, 2017
reply
Follow
share this
same for undirected graphs
0
0
by
Sandeep Suri
commented
Jan 28, 2017
reply
Follow
share this
Question asked for worst case not best case.
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
3
votes
3
votes
5
answers
1
Vasu_gate2017
asked
in
Algorithms
Jan 22, 2017
2,162
views
MadeEasy CBT 2017: Algorithms - Graph Algorithms
No of topological sortings
Vasu_gate2017
asked
in
Algorithms
Jan 22, 2017
by
Vasu_gate2017
2.2k
views
made-easy-test-series
cbt-2017
algorithms
graph-algorithms
topological-sort
4
votes
4
votes
2
answers
2
target2017
asked
in
Databases
Jan 30, 2017
2,121
views
MadeEasy CBT 2017: Databases - Er Diagram
Please explain how they merged.(Modified)
target2017
asked
in
Databases
Jan 30, 2017
by
target2017
2.1k
views
made-easy-test-series
cbt-2017
databases
er-diagram
2
votes
2
votes
1
answer
3
Dulqar
asked
in
Digital Logic
Jan 23, 2017
1,028
views
MadeEasy CBT 2017: Digital Logic - Ieee Representation
Dulqar
asked
in
Digital Logic
Jan 23, 2017
by
Dulqar
1.0k
views
made-easy-test-series
cbt-2017
co-and-architecture
ieee-representation
4
votes
4
votes
3
answers
4
pC
asked
in
Databases
Jan 22, 2017
2,226
views
MadeEasy CBT 2017: Databases - B Tree
Consider the following Node definitions of B Tree and B+ Tree Order P for root node between 1 to 2P keys for other nodes between P to 2P keys If disk block size is of 2048B and key is 20B . Block pointer is 30B . Record Pointer is 25B . Difference between order of B tree with B+ Tree is _______
pC
asked
in
Databases
Jan 22, 2017
by
pC
2.2k
views
made-easy-test-series
cbt-2017
b-tree
databases
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)
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
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy