Pergunta de entrevista da empresa ServiceTitan

Basic questions regarding binary tree, sets etc.