Question DSA-BST-0001
EasyIn a binary search tree, where are values smaller than a node stored?
- A.
In its left subtree
- B.
In its right subtree
- C.
Show answer and explanation
Answer: A
Left subtree < node < right subtree, at every node.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Binary Search Trees question
In a binary search tree, where are values smaller than a node stored?
In its left subtree
In its right subtree
Answer: A
Left subtree < node < right subtree, at every node.
In its parent
Anywhere