Meta interview question

Count values within a range in a BST.