What is the worst-case space complexity of an unpruned binary decision tree trained on N samples?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Work out the worst-case memory of a fully grown binary decision tree trained on N samples. Tests whether you can bound the number of leaves and total nodes, account for what each node stores, and separate tree size from tree depth and training memory.