GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2021 set2

GATE 2021 set2 · CS · NAT · 1 mark · Programming and Data Structures › Trees

GATE 2021 set2 Computer Science and Information Technology question: Consider a complete binary tree with 7 nodes. Let A denote the set of first 3 elements…

Consider a complete binary tree with 7 nodes. Let denote the set of first 3 elements obtained by performing Breadth-First Search (BFS) starting from the root. Let denote the set of first 3 elements obtained by performing Depth-First Search (DFS) starting from the root.
The value of is ______.

Show answer

Official answer: 1

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion