Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged breadth-first-search
5
5 votes
2
2 answers
842
842 views
GATE DA 2026 | Question: 30
Consider a directed graph $G=(V, E)$, where $V$ is the finite set of vertices and $E$ is the set of directed edges between the vertices. $G$ may contain cycles but there ...
gatecse
842
views
asked
Feb 23
Algorithms
gateda-2026
algorithms
graph-algorithms
breadth-first-search
depth-first-search
two-marks
+
–
0
0 votes
1
1 answer
404
404 views
UGC NET CSE | January 2025 | Part 2 | Question: 61
Which of the following algorithms are based on the Breadth First Search (BFS) ?Prim's algorithmsKruskal algorithmsDijkstra algorithmsGreedy algorithmsDynamic ProgrammingC...
Shubham Sharma 2
404
views
asked
Sep 10, 2025
Algorithms
ugcnetcse-jan2025
algorithms
graph-algorithms
breadth-first-search
+
–
15
15 votes
5
5 answers
10.2k
10.2k views
GATE CSE 2025 | Set 2 | Question: 49
Consider the following algorithm someAlgo that takes an undirected graph $G$ as input. ...
admin
10.2k
views
asked
Feb 27, 2025
Algorithms
gatecse2025-set2
algorithms
breadth-first-search
graph-search
numerical-answers
two-marks
+
–
34
34 votes
4
4 answers
14.7k
14.7k views
GATE CSE 2025 | Set 2 | Question: 19
Which of the following statements regarding Breadth First Search (BFS) and Depth First Search (DFS) on an undirected simple graph $G$ is/are TRUE?A DFS tree of $G$ is...
Arjun
14.7k
views
asked
Feb 27, 2025
Algorithms
gatecse2025-set2
algorithms
searching
breadth-first-search
depth-first-search
multiple-selects
one-mark
+
–
30
30 votes
8
8 answers
11.7k
11.7k views
GATE CSE 2025 | Set 1 | Question: 33
Let $G(V, E)$ be an undirected and unweighted graph with $100$ vertices. Let $d(u, v)$ denote the number of edges in a shortest path between vertices $u$ and $v$ in $V$. ...
Arjun
11.7k
views
asked
Feb 27, 2025
Algorithms
gatecse2025-set1
algorithms
breadth-first-search
shortest-path
two-marks
+
–
3
3 votes
1
1 answer
375
375 views
GO Classes Test Series | Data Structures and Algorithms | Basic graph algorithms: traversals and Shortest path | Question: 3
Let $\text{G = (V, E)}$ be a simple undirected graph, and $s$ be a particular vertex in it called the source. For $x \in \text{V},$ let $d(x)$ denote the shortest distanc...
GO Classes
375
views
asked
Oct 16, 2024
Algorithms
goclasses_da_dsa_tw6
goclasses
algorithms
graph-search
breadth-first-search
one-mark
multiple-selects
+
–
17
17 votes
8
8 answers
6.7k
6.7k views
GATE DS&AI 2024 | Question: 34
Consider a state space where the start state is number $1$. The successor function for the state numbered $n$ returns two states numbered $n+1$ and $n+2$. Assume tha...
Arjun
6.7k
views
asked
Feb 16, 2024
Algorithms
gate-ds-ai-2024
algorithms
breadth-first-search
depth-first-search
two-marks
+
–
2
2 votes
1
1 answer
746
746 views
Memory Based GATE DA 2024 | Question: 34
BFS DFS question asking the number of nodes expanded BFS = DFSBFS $$ DFSNone
GO Classes
746
views
asked
Feb 4, 2024
Algorithms
gate2024-da-memory-based
goclasses
algorithms
graph-algorithms
depth-first-search
breadth-first-search
+
–
3
3 votes
2
2 answers
4.4k
4.4k views
GATE Data Science and Artificial Intelligence 2024 | Sample Paper | Question: 52
Consider the following undirected graph on $5$ nodes.Assume you are performing breadth-first search on this graph using a queue data structure. How many unique breadth fi...
admin
4.4k
views
asked
Oct 21, 2023
Others
gateda-sample-paper-2024
breadth-first-search
+
–
55
55 votes
4
4 answers
19.2k
19.2k views
GATE CSE 2023 | Question: 46
Let $U=\{1,2,3\}$. Let $2^{U}$ denote the powerset of $U$. Consider an undirected graph $G$ whose vertex set is $2^{U}$. For any $A, B \in 2^{U},(A, B)$ is an edge in $G$...
admin
19.2k
views
asked
Feb 15, 2023
Algorithms
gatecse-2023
algorithms
breadth-first-search
numerical-answers
two-marks
graph-search
+
–
1
1 vote
0
0 answers
721
721 views
DRDO CSE 2022 Paper 1 | Question: 33 (a)
Consider the following graph.How many nodes (apart from $s$) does the Breadth First Search algorithm discover before discovering $t$ when starting from $s$.
admin
721
views
asked
Dec 15, 2022
Algorithms
drdocse-2022-paper1
algorithms
graph-algorithms
breadth-first-search
two-marks
descriptive
+
–
0
0 votes
1
1 answer
683
683 views
#Dfs And Bfs
Please list the problems where BFS alone can do and DFS alone can do and both can do??
Subbu.
683
views
asked
Jul 16, 2022
Algorithms
algorithms
breadth-first-search
depth-first-search
+
–
0
0 votes
0
0 answers
602
602 views
Self Doubt - BFT Applications
Can we use BFT for finding no. of connected components in a directed as well as undirected graph?
Vallari Garg
602
views
asked
May 16, 2022
Data Structures
breadth-first-search
+
–
0
0 votes
1
1 answer
3.0k
3.0k views
UGC NET CSE | October 2020 | Part 2 | Question: 63
Which of the following statements are true?Minimax search is breadth-first; it processes all the nodes at a level before moving to a node in next level.The effectiveness ...
go_editor
3.0k
views
asked
Nov 20, 2020
Data Structures
ugcnetcse-oct2020-paper2
data-structures
breadth-first-search
+
–
2
2 votes
2
2 answers
2.1k
2.1k views
NIELIT 2017 July Scientist B (IT) - Section B: 4
What are the appropriate data structures for graph traversal using Breadth First Search(BFS) and Depth First Search(DFS) algorithms?Stack for BFS and Queue for DFSQueue f...
admin
2.1k
views
asked
Mar 30, 2020
Data Structures
nielit2017july-scientistb-it
data-structures
graph-algorithms
breadth-first-search
depth-first-search
+
–
4
4 votes
5
5 answers
8.4k
8.4k views
ISRO CSE 2020 | Question: 32
$G$ is an undirected graph with vertex set $\{v1, \ v2, \ v3, \ v4, \ v5, \ v6, \ v7\}$ and edge set $\{v1v2,\ v1v3,\ v1v4\ ,v2v4,\ v2v5,\ v3v4,\ v4v5,\ v4v6,\ v5v6,\ v6v...
Satbir
8.4k
views
asked
Jan 13, 2020
Data Structures
isro-2020
data-structures
breadth-first-search
normal
+
–
0
0 votes
2
2 answers
1.9k
1.9k views
Cormen Edition 3 Exercise 22.2 Question 8 (Page No. 539)
The diameter of a tree $T= (V, E)$ is defined as $max_{u,v\ \epsilon\ V}\ \delta(u,v)$, that is, the largest of all shortest-path distances in the tree. Give an efficient...
KUSHAGRA गुप्ता
1.9k
views
asked
Nov 12, 2019
Algorithms
cormen
graph-algorithms
breadth-first-search
descriptive
+
–
1
1 vote
1
1 answer
1.7k
1.7k views
Cormen Edition 3 Exercise 22.2 Question 7 (Page No. 539)
There are two types of professional wrestlers: “babyfaces” (“good guys”) and “heels” (“bad guys”). Between any pair of professional wrestlers, there may or may not be a r...
KUSHAGRA गुप्ता
1.7k
views
asked
Nov 12, 2019
Algorithms
cormen
graph-algorithms
breadth-first-search
descriptive
+
–
1
1 vote
1
1 answer
2.5k
2.5k views
Cormen Edition 3 Exercise 22.2 Question 6 (Page No. 539)
Give an example of a directed graph $G=(V, E)$, a source vertex $s\ \epsilon\ V$ , and a set of tree edges $E_{\Pi}\subseteq E$ such that for each vertex $v\ \epsilon\ V$...
KUSHAGRA गुप्ता
2.5k
views
asked
Nov 12, 2019
Algorithms
cormen
breadth-first-search
graph-algorithms
descriptive
+
–
1
1 vote
2
2 answers
1.4k
1.4k views
BFS traversal path
What will be the path from A-H if BFS is used in the following graph?
saptarshiDey
1.4k
views
asked
Feb 1, 2019
Algorithms
graph-algorithms
algorithms
breadth-first-search
+
–
1
1 vote
0
0 answers
1.8k
1.8k views
BFS and DFS - types of edges
Can someone please explain what are the types of edges possible in BFS and DFS for DIRECTED as well as UNDIRECTED graphs?Individual meaning of BACK, FRONT and CROSS edges...
Markzuck
1.8k
views
asked
Dec 30, 2018
Algorithms
depth-first-search
breadth-first-search
algorithms
graph-algorithms
+
–
0
0 votes
1
answers
1 answer
3.3k
3.3k views
BFS problem
True or False , with reason.For a directed graph, the absence of back edges with respect to a BFS tree implies that the graph is acyclic?Answer is FalseExplanation:FALSE....
Sandy Sharma
3.3k
views
asked
Dec 25, 2018
Algorithms
algorithms
graph-algorithms
breadth-first-search
true-false
+
–
0
0 votes
1
1 answer
613
613 views
ME OTS
Are the "n!" ways maximum possible BFS sequences ? ( Indirectly, for any given vertices is it obvious that complete graph will give max BFS sequences ? )
HeadShot
613
views
asked
Nov 30, 2018
Algorithms
algorithms
graph-algorithms
breadth-first-search
numerical-answers
made-easy-test-series
+
–
1
1 vote
0
0 answers
843
843 views
Algorithm Back Edges
Does Back Edges in both BFS and DFS leads to cycle in a directed graph? Please elaborate.
Shamim Ahmed
843
views
asked
Nov 26, 2018
Algorithms
algorithms
breadth-first-search
depth-first-search
+
–
Page:
1
2
3
next »