Pergunta de entrevista da empresa Planck

write a function to find the next bigger node in bst