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