Which of these data structures can be used to efficiently determine if a given binary tree is a valid BST?
Stack
Queue
Heap
Both Queue and Stack
What is the time complexity of finding the minimum value in a BST?
O(n)
It depends on the balancing of the tree.
O(log n)
O(1)
When deleting a node with two children in a BST, which node is typically chosen as its replacement to maintain the BST properties?
Either of the above options can be used
The node with the largest key in the left subtree
The node with the smallest key in the right subtree
A new node with the average key of its children
What are the three main methods for traversing a binary tree?
Linear, Binary, Exponential
Ascending, Descending, Random
Preorder, Inorder, Postorder
Breadth-first, Depth-first, Level-order
Which data structure is commonly used to implement a binary tree?
Linked List
Array
To find the maximum element in a binary tree that is not a binary search tree, which traversal method is generally most suitable?
Preorder Traversal
Any traversal method can be used
Inorder Traversal
Postorder Traversal
What is the size of a binary tree with only a root node?
2
0
Undefined
1
Can a binary tree be empty?
Yes
Only if it has leaf nodes
Only if it has a root node
No
What is the minimum possible height of a binary tree with 5 nodes?
3
5
In the context of binary trees, what does 'BST' stand for?
Binary Search Tree
Balanced Search Tree
Basic Structure Tree
Binary Sorted Tree