Question d’entretien chez Expedia Group

Implementation of binary tree and it's pseudocode