NAT · 1 mark · Tree Data Structures
GATE CS 2021 CS-2 — Q16
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 ____________.
The value of is ____________.