Pregunta de entrevista de Meta

Questions about BST and a simple algorithm question