TikTok Interview Question

Create and navigate a binary tree: only explore the right side of the tree