Question d’entretien chez ByteDance

Q. How to build binary tree in sorted.