Compiler-Design
December 21, 2023
Question 16566 – Regular-Expression
December 22, 2023
Compiler-Design
December 21, 2023
Question 16566 – Regular-Expression
December 22, 2023

Question 9494 – GATE 2004

Level order traversal of a rooted tree can be done by starting from the root and performing

Correct Answer: D

Question 6 Explanation: 
Breadth first search:
It is an algorithm for traversing (or) searching tree (or) graph data structures. It starts at the root and explores all of the neighbour nodes at the present depth prior to moving on to the nodes at the next depth level.
A
preorder traversal
B
in-order traversal
C
depth first search
D
breadth first search

Leave a Reply

Your email address will not be published. Required fields are marked *