ByteDance Interview Question

Binary Tree, Forward search, backward search.