TikTok interview question

leet code on binary search tree algorithm